pub struct IaAddrSerializer<'a> { /* private fields */ }
Expand description
A serializer for the IA Address DHCPv6 option.
Implementations§
Source§impl<'a> IaAddrSerializer<'a>
impl<'a> IaAddrSerializer<'a>
Sourcepub fn new(
addr: Ipv6Addr,
preferred_lifetime: u32,
valid_lifetime: u32,
options: &'a [DhcpOption<'a>],
) -> IaAddrSerializer<'a>
pub fn new( addr: Ipv6Addr, preferred_lifetime: u32, valid_lifetime: u32, options: &'a [DhcpOption<'a>], ) -> IaAddrSerializer<'a>
Constructs a new IaAddrSerializer
.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for IaAddrSerializer<'a>
impl<'a> RefUnwindSafe for IaAddrSerializer<'a>
impl<'a> Send for IaAddrSerializer<'a>
impl<'a> Sync for IaAddrSerializer<'a>
impl<'a> Unpin for IaAddrSerializer<'a>
impl<'a> UnwindSafe for IaAddrSerializer<'a>
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