pub struct SessionKeyPair {
pub plain: SessionKey,
pub encrypted: Vec<u8>,
}Expand description
Result of generating a session key for the encryption handshake.
Fields§
§plain: SessionKeyThe plain 32-byte session key for symmetric encryption.
encrypted: Vec<u8>The RSA-encrypted session key to send to the server.
Auto Trait Implementations§
impl Freeze for SessionKeyPair
impl RefUnwindSafe for SessionKeyPair
impl Send for SessionKeyPair
impl Sync for SessionKeyPair
impl Unpin for SessionKeyPair
impl UnsafeUnpin for SessionKeyPair
impl UnwindSafe for SessionKeyPair
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