Enum pnet::packet::MutPacketData [] [src]

pub enum MutPacketData<'p> {
    Owned(Vec<u8>),
    Borrowed(&'p mut [u8]),
}

Variants

Methods

impl<'p> MutPacketData<'p>
[src]

Trait Implementations

impl<'p> PartialEq for MutPacketData<'p>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'p> Index<usize> for MutPacketData<'p>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'p> Index<Range<usize>> for MutPacketData<'p>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'p> Index<RangeTo<usize>> for MutPacketData<'p>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'p> Index<RangeFrom<usize>> for MutPacketData<'p>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'p> Index<RangeFull> for MutPacketData<'p>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'p> IndexMut<usize> for MutPacketData<'p>
[src]

The method for the mutable indexing (container[index]) operation

impl<'p> IndexMut<Range<usize>> for MutPacketData<'p>
[src]

The method for the mutable indexing (container[index]) operation

impl<'p> IndexMut<RangeTo<usize>> for MutPacketData<'p>
[src]

The method for the mutable indexing (container[index]) operation

impl<'p> IndexMut<RangeFrom<usize>> for MutPacketData<'p>
[src]

The method for the mutable indexing (container[index]) operation

impl<'p> IndexMut<RangeFull> for MutPacketData<'p>
[src]

The method for the mutable indexing (container[index]) operation