pub struct PacketKeySet {
pub local: Box<dyn PacketKey>,
pub remote: Box<dyn PacketKey>,
}
Expand description
Packet protection keys for bidirectional 1-RTT communication
Fields§
§local: Box<dyn PacketKey>
Encrypts outgoing packets
remote: Box<dyn PacketKey>
Decrypts incoming packets
Auto Trait Implementations§
impl Freeze for PacketKeySet
impl !RefUnwindSafe for PacketKeySet
impl Send for PacketKeySet
impl Sync for PacketKeySet
impl Unpin for PacketKeySet
impl !UnwindSafe for PacketKeySet
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes