pub enum DefinitionError {
NoAttestersForNonZeroShare,
}Expand description
Errors for definition-level functions.
Variants§
Attempted to assign non-zero attester share with zero attesters; division is undefined.
Trait Implementations§
Source§impl Debug for DefinitionError
impl Debug for DefinitionError
Source§impl Display for DefinitionError
impl Display for DefinitionError
Source§impl Error for DefinitionError
impl Error for DefinitionError
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<DefinitionError> for BlockError
impl From<DefinitionError> for BlockError
Source§fn from(source: DefinitionError) -> Self
fn from(source: DefinitionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DefinitionError
impl RefUnwindSafe for DefinitionError
impl Send for DefinitionError
impl Sync for DefinitionError
impl Unpin for DefinitionError
impl UnwindSafe for DefinitionError
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