pub struct TcpAoValue {
pub key_id: u8,
pub rnext_key_id: u8,
pub mac: Vec<u8>,
}Expand description
TCP Authentication Option (AO) value per RFC 5925.
Fields§
§key_id: u8Key ID
rnext_key_id: u8Receive next key ID
mac: Vec<u8>MAC (Message Authentication Code)
Implementations§
Trait Implementations§
Source§impl Clone for TcpAoValue
impl Clone for TcpAoValue
Source§fn clone(&self) -> TcpAoValue
fn clone(&self) -> TcpAoValue
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 TcpAoValue
impl Debug for TcpAoValue
Source§impl PartialEq for TcpAoValue
impl PartialEq for TcpAoValue
impl Eq for TcpAoValue
impl StructuralPartialEq for TcpAoValue
Auto Trait Implementations§
impl Freeze for TcpAoValue
impl RefUnwindSafe for TcpAoValue
impl Send for TcpAoValue
impl Sync for TcpAoValue
impl Unpin for TcpAoValue
impl UnsafeUnpin for TcpAoValue
impl UnwindSafe for TcpAoValue
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