pub struct TrafficKeys {
pub key_id: u8,
pub c2s: [u8; 32],
pub s2c: [u8; 32],
}Expand description
Bidirectional traffic keys bound to a single key_id.
Fields§
§key_id: u8Active key identifier carried in frame headers.
c2s: [u8; 32]Client-to-server key bytes.
s2c: [u8; 32]Server-to-client key bytes.
Implementations§
Trait Implementations§
Source§impl Clone for TrafficKeys
impl Clone for TrafficKeys
Source§fn clone(&self) -> TrafficKeys
fn clone(&self) -> TrafficKeys
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 moreSource§impl Debug for TrafficKeys
impl Debug for TrafficKeys
Source§impl Drop for TrafficKeys
impl Drop for TrafficKeys
Source§impl PartialEq for TrafficKeys
impl PartialEq for TrafficKeys
impl Eq for TrafficKeys
impl StructuralPartialEq for TrafficKeys
Auto Trait Implementations§
impl Freeze for TrafficKeys
impl RefUnwindSafe for TrafficKeys
impl Send for TrafficKeys
impl Sync for TrafficKeys
impl Unpin for TrafficKeys
impl UnsafeUnpin for TrafficKeys
impl UnwindSafe for TrafficKeys
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