Struct pdu::UdpPdu [−][src]
pub struct UdpPdu<'a> { /* fields omitted */ }
Expand description
Represents a UDP header and 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
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for UdpPdu<'a>
impl<'a> UnwindSafe for UdpPdu<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more