[][src]Enum chargrid_event_routine::Handled

pub enum Handled<R, C> {
    Return(R),
    Continue(C),
}

Variants

Return(R)
Continue(C)

Methods

impl<R, C> Handled<R, C>[src]

pub fn map_continue<D, F>(self, f: F) -> Handled<R, D> where
    F: FnOnce(C) -> D, 
[src]

pub fn map_return<S, F>(self, f: F) -> Handled<S, C> where
    F: FnOnce(R) -> S, 
[src]

Auto Trait Implementations

impl<R, C> RefUnwindSafe for Handled<R, C> where
    C: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, C> Send for Handled<R, C> where
    C: Send,
    R: Send

impl<R, C> Sync for Handled<R, C> where
    C: Sync,
    R: Sync

impl<R, C> Unpin for Handled<R, C> where
    C: Unpin,
    R: Unpin

impl<R, C> UnwindSafe for Handled<R, C> where
    C: UnwindSafe,
    R: 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.