pub struct IAPrefix {
pub preferred_lifetime: u32,
pub valid_lifetime: u32,
pub prefix_len: u8,
pub prefix_ip: Ipv6Addr,
pub opts: DhcpOptions,
}
Expand description
Identity Association Prefix Delegation Prefix Option
Fields§
§preferred_lifetime: u32
§valid_lifetime: u32
§prefix_len: u8
§prefix_ip: Ipv6Addr
§opts: DhcpOptions
Trait Implementations§
source§impl Decodable for IAPrefix
impl Decodable for IAPrefix
source§fn decode(decoder: &mut Decoder<'_>) -> DecodeResult<Self>
fn decode(decoder: &mut Decoder<'_>) -> DecodeResult<Self>
Read the type from the stream
source§fn from_bytes(bytes: &[u8]) -> DecodeResult<Self>
fn from_bytes(bytes: &[u8]) -> DecodeResult<Self>
Returns the object in binary form
source§impl PartialEq for IAPrefix
impl PartialEq for IAPrefix
impl Eq for IAPrefix
impl StructuralEq for IAPrefix
impl StructuralPartialEq for IAPrefix
Auto Trait Implementations§
impl RefUnwindSafe for IAPrefix
impl Send for IAPrefix
impl Sync for IAPrefix
impl Unpin for IAPrefix
impl UnwindSafe for IAPrefix
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