Enum ockam_node::NodeReason
source · pub enum NodeReason {
Unknown,
Shutdown,
Corrupt,
}
Expand description
Reasons why a generic Ockam Node operation has failed
This includes many of the internal I/O failures
Variants§
Unknown
The node is in an unknown state
Shutdown
The node is shutting down
Corrupt
The node has been corrupted
Trait Implementations§
source§impl Clone for NodeReason
impl Clone for NodeReason
source§fn clone(&self) -> NodeReason
fn clone(&self) -> NodeReason
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 NodeReason
impl Debug for NodeReason
source§impl Display for NodeReason
impl Display for NodeReason
impl Copy for NodeReason
Auto Trait Implementations§
impl RefUnwindSafe for NodeReason
impl Send for NodeReason
impl Sync for NodeReason
impl Unpin for NodeReason
impl UnwindSafe for NodeReason
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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