Enum ockam_channel::SecureChannelError [−][src]
pub enum SecureChannelError {
None,
KeyExchange,
InvalidInternalState,
InvalidNonce,
KeyExchangeNotComplete,
InvalidHubResponse,
InvalidLocalInfoType,
}
Expand description
Types of errors that may occur constructing a secure channel.
Variants
No error.
The key exchange process failed.
Internal state is invalid.
Expected nonce was invalid.
Key exchange process did not complete.
Invalid response received from the Hub.
Invalid LocalInfo type
Implementations
Integer code associated with the error domain.
Error domain
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SecureChannelError
impl Send for SecureChannelError
impl Sync for SecureChannelError
impl Unpin for SecureChannelError
impl UnwindSafe for SecureChannelError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more