pub enum OwnerError {
Std(StdError),
NotOwner {},
NotProposedOwner {},
StateTransitionError {},
}Expand description
Errors returned from Owner state transitions
Variants§
Trait Implementations§
Source§impl Debug for OwnerError
impl Debug for OwnerError
Source§impl Display for OwnerError
impl Display for OwnerError
Source§impl Error for OwnerError
impl Error for OwnerError
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<StdError> for OwnerError
impl From<StdError> for OwnerError
Source§impl PartialEq for OwnerError
impl PartialEq for OwnerError
impl StructuralPartialEq for OwnerError
Auto Trait Implementations§
impl Freeze for OwnerError
impl RefUnwindSafe for OwnerError
impl Send for OwnerError
impl Sync for OwnerError
impl Unpin for OwnerError
impl UnwindSafe for OwnerError
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