Struct quinn::crypto::Keys[][src]

pub struct Keys<S> where
    S: Session
{ pub header: KeyPair<<S as Session>::HeaderKey>, pub packet: KeyPair<<S as Session>::PacketKey>, }

A complete set of keys for a certain packet space

Fields

header: KeyPair<<S as Session>::HeaderKey>

Header protection keys

packet: KeyPair<<S as Session>::PacketKey>

Packet protection keys

Auto Trait Implementations

impl<S> RefUnwindSafe for Keys<S> where
    <S as Session>::HeaderKey: RefUnwindSafe,
    <S as Session>::PacketKey: RefUnwindSafe

impl<S> Send for Keys<S>

impl<S> Sync for Keys<S> where
    <S as Session>::HeaderKey: Sync,
    <S as Session>::PacketKey: Sync

impl<S> Unpin for Keys<S> where
    <S as Session>::HeaderKey: Unpin,
    <S as Session>::PacketKey: Unpin

impl<S> UnwindSafe for Keys<S> where
    <S as Session>::HeaderKey: UnwindSafe,
    <S as Session>::PacketKey: UnwindSafe

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, 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>,