pub enum AuthorityError {
LowVitality,
InsufficientStaking,
SealRevoked,
}Expand description
Global Error types for the iqa-org authority layer.
Variants§
Trait Implementations§
Source§impl Debug for AuthorityError
impl Debug for AuthorityError
Source§impl Display for AuthorityError
impl Display for AuthorityError
Source§impl Error for AuthorityError
impl Error for AuthorityError
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()
Auto Trait Implementations§
impl Freeze for AuthorityError
impl RefUnwindSafe for AuthorityError
impl Send for AuthorityError
impl Sync for AuthorityError
impl Unpin for AuthorityError
impl UnsafeUnpin for AuthorityError
impl UnwindSafe for AuthorityError
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