Enum pnet_packet::PacketData [−][src]
Expand description
Packet data.
Variants
Expand description
A packet owns its contents.
Expand description
A packet borrows its contents.
Implementations
impl<'p> PacketData<'p>
[src]
impl<'p> PacketData<'p>
[src]Trait Implementations
impl<'p> Index<Range<usize>> for PacketData<'p>
[src]
impl<'p> Index<Range<usize>> for PacketData<'p>
[src]impl<'p> Index<RangeFrom<usize>> for PacketData<'p>
[src]
impl<'p> Index<RangeFrom<usize>> for PacketData<'p>
[src]impl<'p> Index<RangeFull> for PacketData<'p>
[src]
impl<'p> Index<RangeFull> for PacketData<'p>
[src]impl<'p> Index<RangeTo<usize>> for PacketData<'p>
[src]
impl<'p> Index<RangeTo<usize>> for PacketData<'p>
[src]impl<'p> Index<usize> for PacketData<'p>
[src]
impl<'p> Index<usize> for PacketData<'p>
[src]impl<'p> PartialEq<PacketData<'p>> for PacketData<'p>
[src]
impl<'p> PartialEq<PacketData<'p>> for PacketData<'p>
[src]pub fn eq(&self, other: &PacketData<'p>) -> bool
[src]
pub fn eq(&self, other: &PacketData<'p>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &PacketData<'p>) -> bool
[src]
pub fn ne(&self, other: &PacketData<'p>) -> bool
[src]This method tests for !=
.