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