[][src]Struct io_mux::TaggedData

pub struct TaggedData<'a> {
    pub data: &'a [u8],
    pub tag: Option<String>,
}

Data received through a mux, along with the tag if any.

Fields

data: &'a [u8]

Data received, borrowed from the Mux.

tag: Option<String>

Tag for the sender of this data.

Trait Implementations

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

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

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

impl<'a> StructuralEq for TaggedData<'a>[src]

impl<'a> StructuralPartialEq for TaggedData<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TaggedData<'a>

impl<'a> Send for TaggedData<'a>

impl<'a> Sync for TaggedData<'a>

impl<'a> Unpin for TaggedData<'a>

impl<'a> UnwindSafe for TaggedData<'a>

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,