Enum etherparse::TransportSlice[][src]

pub enum TransportSlice<'a> {
    Udp(UdpHeaderSlice<'a>),
    Tcp(TcpHeaderSlice<'a>),
}

Variants

Trait Implementations

impl<'a> Clone for TransportSlice<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for TransportSlice<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Eq for TransportSlice<'a>
[src]

impl<'a> PartialEq for TransportSlice<'a>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for TransportSlice<'a>

impl<'a> Sync for TransportSlice<'a>