Trait pinwheel::prelude::Signal [−][src]
pub trait Signal { type Item; fn poll_change(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Self::Item>>; }
Associated Types
Required methods
Implementations on Foreign Types
pub fn poll_change(
self: Pin<&mut MapWatchKeySignal<M>>,
cx: &mut Context<'_>
) -> Poll<Option<<MapWatchKeySignal<M> as Signal>::Item>>
Implementors
impl<A> Signal for Dedupe<A> where
A: Signal,
<A as Signal>::Item: PartialEq<<A as Signal>::Item>,
<A as Signal>::Item: Copy,
impl<A> Signal for DedupeCloned<A> where
A: Signal,
<A as Signal>::Item: PartialEq<<A as Signal>::Item>,
<A as Signal>::Item: Clone,
impl<A> Signal for SumSignal<A> where
A: SignalVec,
<A as SignalVec>::Item: for<'a> Sum<&'a <A as SignalVec>::Item>,
impl<A, B, C> Signal for DedupeMap<A, B> where
B: FnMut(&mut <A as Signal>::Item) -> C,
A: Signal,
<A as Signal>::Item: PartialEq<<A as Signal>::Item>,
impl<A, B, C> Signal for FilterMap<A, B> where
B: FnMut(<A as Signal>::Item) -> Option<C>,
A: Signal,
impl<A, B, C> Signal for MapFuture<A, B, C> where
C: FnMut(<A as Signal>::Item) -> B,
B: Future,
A: Signal,
impl<A, B, C> Signal for Switch<A, B, C> where
C: FnMut(<A as Signal>::Item) -> B,
B: Signal,
A: Signal,
impl<A, B, C> Signal for Throttle<A, B, C> where
C: FnMut() -> B,
B: Future<Output = ()>,
A: Signal,