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
sourceimpl Clone for NodeReason
impl Clone for NodeReason
sourcefn clone(&self) -> NodeReason
fn clone(&self) -> NodeReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NodeReason
impl Debug for NodeReason
sourceimpl 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
sourceimpl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more