pub struct PacketKeySet {
pub local: Box<dyn PacketKey>,
pub remote: Box<dyn PacketKey>,
}展开描述
Packet protection keys 用于 bidirectional 1-RTT communication
字段§
§local: Box<dyn PacketKey>加密出发的数据包
remote: Box<dyn PacketKey>解密收到的数据包
自动 Trait 实现§
impl Freeze for PacketKeySet
impl !RefUnwindSafe for PacketKeySet
impl Send for PacketKeySet
impl Sync for PacketKeySet
impl Unpin for PacketKeySet
impl UnsafeUnpin for PacketKeySet
impl !UnwindSafe for PacketKeySet
Blanket 实现§
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 从 an owned value. 更多信息