pub struct DirectionalSecret {
pub secret: Vec<u8>,
pub key: Vec<u8>,
pub iv: [u8; 12],
pub seq: u64,
}Expand description
One direction’s traffic secret and record state, for kernel TLS.
Fields§
§secret: Vec<u8>§key: Vec<u8>§iv: [u8; 12]§seq: u64The sequence number of the next record.
Trait Implementations§
Source§impl Clone for DirectionalSecret
impl Clone for DirectionalSecret
Auto Trait Implementations§
impl Forget for DirectionalSecret
impl Freeze for DirectionalSecret
impl Move for DirectionalSecret
impl RefUnwindSafe for DirectionalSecret
impl Send for DirectionalSecret
impl Sync for DirectionalSecret
impl Unpin for DirectionalSecret
impl UnsafeUnpin for DirectionalSecret
impl UnwindSafe for DirectionalSecret
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