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