Struct pdu::IcmpPdu [−][src]
pub struct IcmpPdu<'a> { /* fields omitted */ }
Expand description
Represents an ICMP payload
Implementations
Returns a reference to the entire underlying buffer that was provided during construction
Consumes this object and returns a reference to the entire underlying buffer that was provided during construction
Returns the slice of the underlying buffer that contains the header part of this PDU
Consumes this object and returns the slice of the underlying buffer that contains the header part of this PDU
Returns an object representing the inner payload of this PDU
Consumes this object and returns an object representing the inner payload of this PDU
👎 Deprecated since 1.3.0:
use IcmpPdu::inner()
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for IcmpPdu<'a>
impl<'a> UnwindSafe for IcmpPdu<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more