pub struct Tls13KeyMaterial {
pub key: Vec<u8>,
pub iv: Vec<u8>,
}Expand description
TLS 1.3 key material derived from traffic secret.
Fields§
§key: Vec<u8>Encryption key
iv: Vec<u8>IV for nonce construction
Trait Implementations§
Source§impl Clone for Tls13KeyMaterial
impl Clone for Tls13KeyMaterial
Source§fn clone(&self) -> Tls13KeyMaterial
fn clone(&self) -> Tls13KeyMaterial
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 Tls13KeyMaterial
impl RefUnwindSafe for Tls13KeyMaterial
impl Send for Tls13KeyMaterial
impl Sync for Tls13KeyMaterial
impl Unpin for Tls13KeyMaterial
impl UnwindSafe for Tls13KeyMaterial
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