Struct ethcore_util::error::Mismatch
[−]
[src]
pub struct Mismatch<T: Debug> { pub expected: T, pub found: T, }
Error indicating an expected value was not found.
Fields
expected: T
Value expected.
found: T
Value found.
Trait Implementations
impl<T: Debug + Debug> Debug for Mismatch<T>
[src]
impl<T: PartialEq + Debug> PartialEq for Mismatch<T>
[src]
fn eq(&self, __arg_0: &Mismatch<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Mismatch<T>) -> bool
This method tests for !=
.
impl<T: Eq + Debug> Eq for Mismatch<T>
[src]
impl<T: Clone + Debug> Clone for Mismatch<T>
[src]
fn clone(&self) -> Mismatch<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more