Struct packet_formats::igmp::IgmpResponseTimeV3
source · pub struct IgmpResponseTimeV3(/* private fields */);
Expand description
Thin wrapper around u8 that provides maximum response time parsing for IGMP v3.
Provides conversions to and from Duration
for parsing and
and serializing in the correct format.
Trait Implementations§
source§impl Debug for IgmpResponseTimeV3
impl Debug for IgmpResponseTimeV3
source§impl From<IgmpResponseTimeV3> for Duration
impl From<IgmpResponseTimeV3> for Duration
source§fn from(value: IgmpResponseTimeV3) -> Duration
fn from(value: IgmpResponseTimeV3) -> Duration
Converts to this type from the input type.
source§impl IgmpMaxRespCode for IgmpResponseTimeV3
impl IgmpMaxRespCode for IgmpResponseTimeV3
source§impl PartialEq for IgmpResponseTimeV3
impl PartialEq for IgmpResponseTimeV3
source§fn eq(&self, other: &IgmpResponseTimeV3) -> bool
fn eq(&self, other: &IgmpResponseTimeV3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Duration> for IgmpResponseTimeV3
impl TryFrom<Duration> for IgmpResponseTimeV3
impl StructuralPartialEq for IgmpResponseTimeV3
Auto Trait Implementations§
impl Freeze for IgmpResponseTimeV3
impl RefUnwindSafe for IgmpResponseTimeV3
impl Send for IgmpResponseTimeV3
impl Sync for IgmpResponseTimeV3
impl Unpin for IgmpResponseTimeV3
impl UnwindSafe for IgmpResponseTimeV3
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