Enum ockam_channel::SecureChannelError[][src]

pub enum SecureChannelError {
    None,
    KeyExchange,
    InvalidInternalState,
    InvalidNonce,
    KeyExchangeNotComplete,
    InvalidHubResponse,
}

Types of errors that may occur constructing a secure channel.

Variants

None

No error.

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.

Implementations

impl SecureChannelError[src]

pub const DOMAIN_CODE: u32[src]

Integer code associated with the error domain.

pub const DOMAIN_NAME: &'static str[src]

Error domain

Trait Implementations

impl Into<Error> for SecureChannelError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,