pub struct PeerSessionKey { /* private fields */ }Expand description
Session key for per-peer E2EE encryption
Derived from the X25519 shared secret via HKDF. Used with ChaCha20-Poly1305 for authenticated encryption of peer-to-peer messages.
Implementations§
Trait Implementations§
Source§impl Clone for PeerSessionKey
impl Clone for PeerSessionKey
Source§fn clone(&self) -> PeerSessionKey
fn clone(&self) -> PeerSessionKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PeerSessionKey
impl RefUnwindSafe for PeerSessionKey
impl Send for PeerSessionKey
impl Sync for PeerSessionKey
impl Unpin for PeerSessionKey
impl UnwindSafe for PeerSessionKey
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