#[repr(C, packed(1))]pub struct Address {
pub len: u16,
pub typ: SaExtType,
pub proto: u8,
pub prefix_len: u8,
pub reserved: u16,
pub sockaddr: SockAddr,
}
Expand description
Address information for a security association.
Fields§
§len: u16
Length of this extension in 8-byte units.
typ: SaExtType
The type of this extension.
proto: u8
Protocol family identifier for this address.
prefix_len: u8
Prefix length associated with the address.
reserved: u16
Reserved bits.
sockaddr: SockAddr
Address and port the security association binds to.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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