pub struct KxResult {
pub public_key: Vec<u8>,
pub shared_secret: Vec<u8>,
}Expand description
Result of a key exchange operation.
Fields§
§public_key: Vec<u8>Our public key to send to the peer.
The shared secret (pre-master secret for TLS 1.2, or raw ECDH output for TLS 1.3).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KxResult
impl RefUnwindSafe for KxResult
impl Send for KxResult
impl Sync for KxResult
impl Unpin for KxResult
impl UnsafeUnpin for KxResult
impl UnwindSafe for KxResult
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