Struct zero_packet::network::icmp::IcmpReader
source · pub struct IcmpReader<'a> {
pub bytes: &'a [u8],
}
Expand description
Reads an ICMP header.
Fields§
§bytes: &'a [u8]
Implementations§
Trait Implementations§
source§impl Debug for IcmpReader<'_>
impl Debug for IcmpReader<'_>
source§impl<'a> PartialEq for IcmpReader<'a>
impl<'a> PartialEq for IcmpReader<'a>
source§fn eq(&self, other: &IcmpReader<'a>) -> bool
fn eq(&self, other: &IcmpReader<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for IcmpReader<'a>
Auto Trait Implementations§
impl<'a> Freeze for IcmpReader<'a>
impl<'a> RefUnwindSafe for IcmpReader<'a>
impl<'a> Send for IcmpReader<'a>
impl<'a> Sync for IcmpReader<'a>
impl<'a> Unpin for IcmpReader<'a>
impl<'a> UnwindSafe for IcmpReader<'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