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