Enum NodeError
pub enum NodeError<M>where
M: MacBackend,{
Mac(MacBackendError<<M as MacBackend>::SendError, <M as MacBackend>::CapacityError>),
ChannelLeft,
PeerMissing,
AppEncode(AppEncodeError),
PfsSessionMissing,
PfsSessionTableFull,
Crypto(CryptoError),
}Expand description
Errors produced by node-layer operations.
Variants§
Mac(MacBackendError<<M as MacBackend>::SendError, <M as MacBackend>::CapacityError>)
Underlying MAC-layer failure.
ChannelLeft
The node has left this channel since the handle was created.
PeerMissing
The peer is not registered.
AppEncode(AppEncodeError)
Control-payload encode failure.
PfsSessionMissing
The referenced PFS session was missing.
PfsSessionTableFull
The PFS session table is full.
Crypto(CryptoError)
Crypto failure during PFS processing.
Trait Implementations§
§impl<M> From<CryptoError> for NodeError<M>where
M: MacBackend,
Available on crate feature software-crypto only.
impl<M> From<CryptoError> for NodeError<M>where
M: MacBackend,
Available on crate feature
software-crypto only.§impl<M> From<MacBackendError<<M as MacBackend>::SendError, <M as MacBackend>::CapacityError>> for NodeError<M>where
M: MacBackend,
impl<M> From<MacBackendError<<M as MacBackend>::SendError, <M as MacBackend>::CapacityError>> for NodeError<M>where
M: MacBackend,
impl<M> Eq for NodeError<M>
impl<M> StructuralPartialEq for NodeError<M>where
M: MacBackend,
Auto Trait Implementations§
impl<M> Freeze for NodeError<M>
impl<M> RefUnwindSafe for NodeError<M>where
<M as MacBackend>::SendError: RefUnwindSafe,
<M as MacBackend>::CapacityError: RefUnwindSafe,
impl<M> Send for NodeError<M>
impl<M> Sync for NodeError<M>
impl<M> Unpin for NodeError<M>
impl<M> UnwindSafe for NodeError<M>where
<M as MacBackend>::SendError: UnwindSafe,
<M as MacBackend>::CapacityError: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)