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