Enum dominator_helpers::signals::EitherSignal [−][src]
pub enum EitherSignal<Left, Right> { Left(Left), Right(Right), }
Variants
Trait Implementations
Auto Trait Implementations
impl<Left, Right> RefUnwindSafe for EitherSignal<Left, Right> where
Left: RefUnwindSafe,
Right: RefUnwindSafe,
impl<Left, Right> Send for EitherSignal<Left, Right> where
Left: Send,
Right: Send,
impl<Left, Right> Sync for EitherSignal<Left, Right> where
Left: Sync,
Right: Sync,
impl<Left, Right> Unpin for EitherSignal<Left, Right> where
Left: Unpin,
Right: Unpin,
impl<Left, Right> UnwindSafe for EitherSignal<Left, Right> where
Left: UnwindSafe,
Right: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Creates a Stream
which contains the values of self
. Read more
Creates a Signal
which uses a closure to transform the value. Read more
Creates a Signal
which uses a closure to transform the value. Read more
Creates a Signal
which uses a closure to asynchronously transform the value. Read more
Creates a Signal
which uses a closure to filter and transform the value. Read more
Creates a Signal
which delays updates until a Future
finishes. Read more
Creates a Signal
which flattens self
. Read more
fn switch<A, B>(self, callback: B) -> Switch<Self, A, B> where
A: Signal,
B: FnMut(Self::Item) -> A,
fn switch_signal_vec<A, F>(self, callback: F) -> SwitchSignalVec<Self, A, F> where
A: SignalVec,
F: FnMut(Self::Item) -> A,
fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F> where
F: FnMut(Self::Item) -> U,
U: Future<Output = ()>,
A convenience for calling Signal::poll_change
on Unpin
types.