pub struct Keys {
pub local: DirectionalKeys,
pub remote: DirectionalKeys,
}展开描述
Complete set of keys 用 到 communicate with the peer
字段§
§local: DirectionalKeys加密出发的数据包
remote: DirectionalKeys解密收到的数据包
实现§
自动 Trait 实现§
impl Freeze for Keys
impl !RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnsafeUnpin for Keys
impl !UnwindSafe for Keys
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. 更多信息