pub struct TimeExceededPacket {
pub header: IcmpHeader,
pub unused: u32,
pub payload: Bytes,
}Expand description
Represents an “echo request” ICMP packet.
Fields§
§header: IcmpHeader§unused: u32§payload: BytesTrait Implementations§
Source§impl Clone for TimeExceededPacket
impl Clone for TimeExceededPacket
Source§fn clone(&self) -> TimeExceededPacket
fn clone(&self) -> TimeExceededPacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeExceededPacket
impl Debug for TimeExceededPacket
Source§impl PartialEq for TimeExceededPacket
impl PartialEq for TimeExceededPacket
Source§impl TryFrom<IcmpPacket> for TimeExceededPacket
impl TryFrom<IcmpPacket> for TimeExceededPacket
impl Eq for TimeExceededPacket
impl StructuralPartialEq for TimeExceededPacket
Auto Trait Implementations§
impl !Freeze for TimeExceededPacket
impl RefUnwindSafe for TimeExceededPacket
impl Send for TimeExceededPacket
impl Sync for TimeExceededPacket
impl Unpin for TimeExceededPacket
impl UnwindSafe for TimeExceededPacket
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