Enum lozizol::model::Data[][src]

pub enum Data<IO, T> {
    Owned(T),
    IO(IO),
    None,
}

Variants

Owned(T)
IO(IO)
None

Trait Implementations

impl<IO: Clone, T: Clone> Clone for Data<IO, T>[src]

impl<IO: Debug, T: Debug> Debug for Data<IO, T>[src]

impl<IO, T> Default for Data<IO, T>[src]

Auto Trait Implementations

impl<IO, T> RefUnwindSafe for Data<IO, T> where
    IO: RefUnwindSafe,
    T: RefUnwindSafe

impl<IO, T> Send for Data<IO, T> where
    IO: Send,
    T: Send

impl<IO, T> Sync for Data<IO, T> where
    IO: Sync,
    T: Sync

impl<IO, T> Unpin for Data<IO, T> where
    IO: Unpin,
    T: Unpin

impl<IO, T> UnwindSafe for Data<IO, T> where
    IO: UnwindSafe,
    T: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.