[−][src]Trait futures_signals::signal::Signal
Associated Types
type Item
Required methods
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
Implementations on Foreign Types
impl<'a, A: ?Sized> Signal for &'a mut A where
A: Signal + Unpin,
[src]
A: Signal + Unpin,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A: ?Sized> Signal for Box<A> where
A: Signal + Unpin,
[src]
A: Signal + Unpin,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for Pin<A> where
A: Unpin + DerefMut,
A::Target: Signal,
[src]
A: Unpin + DerefMut,
A::Target: Signal,
type Item = <<A as Deref>::Target as Signal>::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
Implementors
impl<A> Signal for Always<A>
[src]
type Item = A
fn poll_change(self: Pin<&mut Self>, _: &LocalWaker) -> Poll<Option<Self::Item>>
[src]
impl<A> Signal for BroadcasterSignal<A> where
A: Signal,
A::Item: Copy,
[src]
A: Signal,
A::Item: Copy,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for BroadcasterSignalCloned<A> where
A: Signal,
A::Item: Clone,
[src]
A: Signal,
A::Item: Clone,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for Dedupe<A> where
A: Signal,
A::Item: PartialEq + Copy,
[src]
A: Signal,
A::Item: PartialEq + Copy,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for DedupeCloned<A> where
A: Signal,
A::Item: PartialEq + Clone,
[src]
A: Signal,
A::Item: PartialEq + Clone,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for First<A> where
A: Signal,
[src]
A: Signal,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for Flatten<A> where
A: Signal,
A::Item: Signal,
[src]
A: Signal,
A::Item: Signal,
type Item = <A::Item as Signal>::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for FromFuture<A> where
A: Future,
[src]
A: Future,
type Item = Option<A::Output>
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for FromStream<A> where
A: Stream,
[src]
A: Stream,
type Item = Option<A::Item>
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for Receiver<A>
[src]
type Item = A
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for Len<A> where
A: SignalVec,
[src]
A: SignalVec,
type Item = usize
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A> Signal for SumSignal<A> where
A: SignalVec,
A::Item: for<'a> Sum<&'a A::Item>,
[src]
A: SignalVec,
A::Item: for<'a> Sum<&'a A::Item>,
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B> Signal for Inspect<A, B> where
A: Signal,
B: FnMut(&A::Item),
[src]
A: Signal,
B: FnMut(&A::Item),
type Item = A::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B, C> Signal for DedupeMap<A, B> where
A: Signal,
A::Item: PartialEq,
B: FnMut(&mut A::Item) -> C,
[src]
A: Signal,
A::Item: PartialEq,
B: FnMut(&mut A::Item) -> C,
type Item = C
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B, C> Signal for FilterMap<A, B> where
A: Signal,
B: FnMut(A::Item) -> Option<C>,
[src]
A: Signal,
B: FnMut(A::Item) -> Option<C>,
type Item = Option<C>
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B, C> Signal for Map<A, B> where
A: Signal,
B: FnMut(A::Item) -> C,
[src]
A: Signal,
B: FnMut(A::Item) -> C,
type Item = C
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B, C> Signal for MapFuture<A, B, C> where
A: Signal,
B: Future,
C: FnMut(A::Item) -> B,
[src]
A: Signal,
B: Future,
C: FnMut(A::Item) -> B,
type Item = Option<B::Output>
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B, C> Signal for Switch<A, B, C> where
A: Signal,
B: Signal,
C: FnMut(A::Item) -> B,
[src]
A: Signal,
B: Signal,
C: FnMut(A::Item) -> B,
type Item = B::Item
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A, B, F> Signal for MutableSignalRef<A, F> where
F: FnMut(&A) -> B,
[src]
F: FnMut(&A) -> B,
type Item = B
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A: Clone> Signal for MutableSignalCloned<A>
[src]
type Item = A
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
impl<A: Copy> Signal for MutableSignal<A>
[src]
type Item = A
fn poll_change(
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
waker: &LocalWaker
) -> Poll<Option<Self::Item>>