Struct rustls::quic::Keys[][src]

pub struct Keys {
    pub local: DirectionalKeys,
    pub remote: DirectionalKeys,
}
This is supported on crate feature quic only.

Complete set of keys used to communicate with the peer

Fields

local: DirectionalKeys

Encrypts outgoing packets

remote: DirectionalKeys

Decrypts incoming packets

Implementations

impl Keys[src]

pub fn initial(
    initial_salt: &Salt,
    client_dst_connection_id: &[u8],
    is_client: bool
) -> Self
[src]

Construct keys for use with initial packets

Auto Trait Implementations

impl RefUnwindSafe for Keys

impl Send for Keys

impl Sync for Keys

impl Unpin for Keys

impl UnwindSafe for Keys

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.