pub struct InvalidParityValue(/* private fields */);
Expand description
Error returned when conversion from an integer to Parity
fails.
Trait Implementations§
Source§impl Clone for InvalidParityValue
impl Clone for InvalidParityValue
Source§fn clone(&self) -> InvalidParityValue
fn clone(&self) -> InvalidParityValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvalidParityValue
impl Debug for InvalidParityValue
Source§impl Display for InvalidParityValue
impl Display for InvalidParityValue
Source§impl Error for InvalidParityValue
Available on crate feature std
only.
impl Error for InvalidParityValue
Available on crate feature
std
only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InvalidParityValue> for Error
impl From<InvalidParityValue> for Error
Source§fn from(error: InvalidParityValue) -> Error
fn from(error: InvalidParityValue) -> Error
Converts to this type from the input type.
Source§impl Hash for InvalidParityValue
impl Hash for InvalidParityValue
Source§impl Ord for InvalidParityValue
impl Ord for InvalidParityValue
Source§fn cmp(&self, other: &InvalidParityValue) -> Ordering
fn cmp(&self, other: &InvalidParityValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InvalidParityValue
impl PartialEq for InvalidParityValue
Source§impl PartialOrd for InvalidParityValue
impl PartialOrd for InvalidParityValue
impl Copy for InvalidParityValue
impl Eq for InvalidParityValue
impl StructuralPartialEq for InvalidParityValue
Auto Trait Implementations§
impl Freeze for InvalidParityValue
impl RefUnwindSafe for InvalidParityValue
impl Send for InvalidParityValue
impl Sync for InvalidParityValue
impl Unpin for InvalidParityValue
impl UnwindSafe for InvalidParityValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.