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 !RefUnwindSafe for Keys
impl !UnwindSafe for Keys
impl Freeze for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnsafeUnpin 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