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

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.

InvalidLocalInfoType

Invalid LocalInfo type

Implementations

Integer code associated with the error domain.

Error domain

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.