pub enum IgmpRepr {
MembershipQuery {
max_resp_time: Duration,
group_addr: Ipv4Address,
version: IgmpVersion,
},
MembershipReport {
group_addr: Ipv4Address,
version: IgmpVersion,
},
LeaveGroup {
group_addr: Ipv4Address,
},
}
Expand description
A high-level representation of an Internet Group Management Protocol v1/v2 header.
Variants§
Implementations§
Source§impl Repr
impl Repr
Trait Implementations§
impl Eq for Repr
impl StructuralPartialEq for Repr
Auto Trait Implementations§
impl Freeze for Repr
impl RefUnwindSafe for Repr
impl Send for Repr
impl Sync for Repr
impl Unpin for Repr
impl UnwindSafe for Repr
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