Enum hotdrink_rs::Event[][src]

pub enum Event<'a, T, E> {
    Pending,
    Ready(&'a T),
    Error(&'a Vec<E>),
}

An event from the constraint system.

Variants

Pending

The value is being computed.

Ready(&'a T)

The computation succeeded.

Error(&'a Vec<E>)

The computation failed.

Trait Implementations

impl<'a, T: Clone, E: Clone> Clone for Event<'a, T, E>[src]

impl<'a, T: Debug, E: Debug> Debug for Event<'a, T, E>[src]

impl<'a, T: Eq, E: Eq> Eq for Event<'a, T, E>[src]

impl<'a, T: PartialEq, E: PartialEq> PartialEq<Event<'a, T, E>> for Event<'a, T, E>[src]

impl<'a, T, E> StructuralEq for Event<'a, T, E>[src]

impl<'a, T, E> StructuralPartialEq for Event<'a, T, E>[src]

Auto Trait Implementations

impl<'a, T, E> RefUnwindSafe for Event<'a, T, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, E> Send for Event<'a, T, E> where
    E: Sync,
    T: Sync

impl<'a, T, E> Sync for Event<'a, T, E> where
    E: Sync,
    T: Sync

impl<'a, T, E> Unpin for Event<'a, T, E>

impl<'a, T, E> UnwindSafe for Event<'a, T, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe

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.