pub enum KeyChange {
Handshake {
keys: Keys,
},
OneRtt {
keys: Keys,
next: Box<dyn NextSecrets>,
},
}Expand description
A change of write level reported by CryptoSession::write_handshake.
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for KeyChange
impl !Sync for KeyChange
impl !UnwindSafe for KeyChange
impl Forget for KeyChange
impl Freeze for KeyChange
impl Move for KeyChange
impl Send for KeyChange
impl Unpin for KeyChange
impl UnsafeUnpin for KeyChange
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