pub enum HardnessError {
InvalidValue,
ScaleMismatch,
}Variants§
Trait Implementations§
Source§impl Clone for HardnessError
impl Clone for HardnessError
Source§fn clone(&self) -> HardnessError
fn clone(&self) -> HardnessError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HardnessError
impl Debug for HardnessError
Source§impl PartialEq for HardnessError
impl PartialEq for HardnessError
Source§fn eq(&self, other: &HardnessError) -> bool
fn eq(&self, other: &HardnessError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HardnessError
impl Eq for HardnessError
impl StructuralPartialEq for HardnessError
Auto Trait Implementations§
impl Freeze for HardnessError
impl RefUnwindSafe for HardnessError
impl Send for HardnessError
impl Sync for HardnessError
impl Unpin for HardnessError
impl UnsafeUnpin for HardnessError
impl UnwindSafe for HardnessError
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