[][src]Enum seed::app::effects::Effect

pub enum Effect<Ms, GMs> {
    Msg(Ms),
    Cmd(LocalFutureObj<'static, Result<Ms, Ms>>),
    GMsg(GMs),
    GCmd(LocalFutureObj<'static, Result<GMs, GMs>>),
}

Variants

Msg(Ms)
Cmd(LocalFutureObj<'static, Result<Ms, Ms>>)
GMsg(GMs)
GCmd(LocalFutureObj<'static, Result<GMs, GMs>>)

Trait Implementations

impl<Ms, GMs> From<Ms> for Effect<Ms, GMs>[src]

impl<Ms: 'static, OtherMs: 'static, GMs> MessageMapper<Ms, OtherMs> for Effect<Ms, GMs>[src]

type SelfWithOtherMs = Effect<OtherMs, GMs>

Auto Trait Implementations

impl<Ms, GMs> !RefUnwindSafe for Effect<Ms, GMs>

impl<Ms, GMs> !Send for Effect<Ms, GMs>

impl<Ms, GMs> !Sync for Effect<Ms, GMs>

impl<Ms, GMs> Unpin for Effect<Ms, GMs> where
    GMs: Unpin,
    Ms: Unpin

impl<Ms, GMs> !UnwindSafe for Effect<Ms, GMs>

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<!> for T[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.