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