Enum ockam_channel::SecureChannelError
source ·
[−]pub enum SecureChannelError {
KeyExchange,
InvalidInternalState,
InvalidNonce,
KeyExchangeNotComplete,
InvalidHubResponse,
InvalidLocalInfoType,
}
Expand description
Types of errors that may occur constructing a secure channel.
Variants
KeyExchange
The key exchange process failed.
InvalidInternalState
Internal state is invalid.
InvalidNonce
Expected nonce was invalid.
KeyExchangeNotComplete
Key exchange process did not complete.
InvalidHubResponse
Invalid response received from the Hub.
InvalidLocalInfoType
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
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