pub struct Keys {
pub local: DirectionalKeys,
pub remote: DirectionalKeys,
}
Expand description
Complete set of keys used to communicate with the peer
Fields§
§local: DirectionalKeys
Encrypts outgoing packets
remote: DirectionalKeys
Decrypts incoming packets
Implementations§
Auto Trait Implementations§
impl Freeze for Keys
impl !RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl !UnwindSafe for Keys
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: 64 bytes