Enum ockam_channel::SecureChannelError [−][src]
pub enum SecureChannelError { None, KeyExchange, InvalidInternalState, InvalidNonce, KeyExchangeNotComplete, InvalidHubResponse, }
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.
Implementations
impl SecureChannelError
[src]
impl SecureChannelError
[src]pub const DOMAIN_CODE: u32
[src]
pub const DOMAIN_CODE: u32
[src]Integer code associated with the error domain.
pub const DOMAIN_NAME: &'static str
[src]
pub const DOMAIN_NAME: &'static str
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,