[][src]Struct turbulence::packet_multiplexer::MuxPacket

pub struct MuxPacket<P>(_);

A wrapper over a Packet that reserves the first byte for the channel.

Trait Implementations

impl<P: Debug> Debug for MuxPacket<P>[src]

impl<P> Deref for MuxPacket<P> where
    P: Packet
[src]

type Target = [u8]

The resulting type after dereferencing.

impl<P> DerefMut for MuxPacket<P> where
    P: Packet
[src]

impl<P> Packet for MuxPacket<P> where
    P: Packet
[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for MuxPacket<P> where
    P: RefUnwindSafe

impl<P> Send for MuxPacket<P> where
    P: Send

impl<P> Sync for MuxPacket<P> where
    P: Sync

impl<P> Unpin for MuxPacket<P> where
    P: Unpin

impl<P> UnwindSafe for MuxPacket<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.