[][src]Enum bottle::emit::Subscription

pub enum Subscription<S: Signal> {
    Const(Remote<dyn Handler<S> + 'static>),
    Mut(Remote<dyn MutHandler<S> + 'static>),
}

Variants

Const(Remote<dyn Handler<S> + 'static>)Mut(Remote<dyn MutHandler<S> + 'static>)

Trait Implementations

impl<S: Signal> Signal for Subscription<S>[src]

type Response = ()

impl<T, S: Signal> Handler<Subscription<S>> for T where
    T: Emitter<S>, 
[src]

Auto Trait Implementations

impl<S> Sync for Subscription<S>

impl<S> !Unpin for Subscription<S>

impl<S> Send for Subscription<S>

impl<S> !RefUnwindSafe for Subscription<S>

impl<S> !UnwindSafe for Subscription<S>

Blanket Implementations

impl<T, S> Handler<Subscription<S>> for T where
    S: Signal,
    T: Emitter<S>, 
[src]

impl<T> AsReceiver for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]