pub struct SharedSecret(pub [u8; 32]);Expand description
A shared secret resulting from an ECDH key agreement.
This is returned by implementations of SecretKey::agree.
Tuple Fields§
§0: [u8; 32]Auto Trait Implementations§
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