pub struct Keys {
pub header: KeyPair<Box<dyn HeaderKey>>,
pub packet: KeyPair<Box<dyn PacketKey>>,
}展开描述
某个 packet space 下的完整密钥集合
字段§
§header: KeyPair<Box<dyn HeaderKey>>包头保护密钥
packet: KeyPair<Box<dyn PacketKey>>包保护密钥
自动 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 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. 更多信息