pub struct IgmpResponseTimeV2(/* private fields */);
Expand description
Thin wrapper around u8
that provides maximum response time parsing
for IGMP v2.
Provides conversions to and from Duration
for parsing and
and serializing in the correct format, following that the underlying u8
is the maximum response time in tenths of seconds.
Trait Implementations§
Source§impl Debug for IgmpResponseTimeV2
impl Debug for IgmpResponseTimeV2
Source§impl From<IgmpResponseTimeV2> for Duration
impl From<IgmpResponseTimeV2> for Duration
Source§fn from(value: IgmpResponseTimeV2) -> Duration
fn from(value: IgmpResponseTimeV2) -> Duration
Converts to this type from the input type.
Source§impl IgmpMaxRespCode for IgmpResponseTimeV2
impl IgmpMaxRespCode for IgmpResponseTimeV2
Source§impl PartialEq for IgmpResponseTimeV2
impl PartialEq for IgmpResponseTimeV2
Source§impl TryFrom<Duration> for IgmpResponseTimeV2
impl TryFrom<Duration> for IgmpResponseTimeV2
impl StructuralPartialEq for IgmpResponseTimeV2
Auto Trait Implementations§
impl Freeze for IgmpResponseTimeV2
impl RefUnwindSafe for IgmpResponseTimeV2
impl Send for IgmpResponseTimeV2
impl Sync for IgmpResponseTimeV2
impl Unpin for IgmpResponseTimeV2
impl UnwindSafe for IgmpResponseTimeV2
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