pub struct Secrets { /* private fields */ }
Expand description
Secrets used to encrypt/decrypt traffic
Implementations§
source§impl Secrets
impl Secrets
sourcepub fn next_packet_keys(&mut self) -> PacketKeySet
pub fn next_packet_keys(&mut self) -> PacketKeySet
Derive the next set of packet keys
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Secrets
impl !RefUnwindSafe for Secrets
impl Send for Secrets
impl Sync for Secrets
impl Unpin for Secrets
impl !UnwindSafe for Secrets
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)