[][src]Enum boringtun::noise::handshake::HandshakeState

pub enum HandshakeState {
    None,
    InitSent {
        hash: [u8; 32],
        chaining_key: [u8; 32],
        ephemeral_private: X25519EphemeralKey,
        local_index: u32,
        time_sent: Instant,
        mac1: [u8; 32],
    },
    InitReceived {
        hash: [u8; 32],
        chaining_key: [u8; 32],
        peer_ephemeral_public: X25519PublicKey,
        peer_index: u32,
    },
    Expired,
}

Variants

NoneInitSent

Fields of InitSent

hash: [u8; 32]chaining_key: [u8; 32]ephemeral_private: X25519EphemeralKeylocal_index: u32time_sent: Instantmac1: [u8; 32]
InitReceived

Fields of InitReceived

hash: [u8; 32]chaining_key: [u8; 32]peer_ephemeral_public: X25519PublicKeypeer_index: u32
Expired

Trait Implementations

impl Debug for HandshakeState[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.