Struct quinn_proto::crypto::Keys
source · pub struct Keys {
pub header: KeyPair<Box<dyn HeaderKey>>,
pub packet: KeyPair<Box<dyn PacketKey>>,
}
Expand description
A complete set of keys for a certain packet space
Fields§
§header: KeyPair<Box<dyn HeaderKey>>
Header protection keys
packet: KeyPair<Box<dyn PacketKey>>
Packet protection keys
Auto Trait Implementations§
impl Freeze for Keys
impl !RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl !UnwindSafe for Keys
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more