Struct futures_signals::signal_map::MapValue [−][src]
#[must_use = "SignalMaps do nothing unless polled"]pub struct MapValue<A, B> { /* fields omitted */ }
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for MapValue<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for MapValue<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn map_value<A, F>(self, callback: F) -> MapValue<Self, F> where
F: FnMut(Self::Value) -> A,
Self: Sized,
[src]fn key_cloned(self, key: Self::Key) -> MapWatchKeySignal<Self> where
Self::Key: PartialEq,
Self::Value: Clone,
Self: Sized,
[src]
fn key_cloned(self, key: Self::Key) -> MapWatchKeySignal<Self> where
Self::Key: PartialEq,
Self::Value: Clone,
Self: Sized,
[src]Returns a signal that tracks the value of a particular key in the map.
fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F>ⓘ where
U: Future<Output = ()>,
F: FnMut(MapDiff<Self::Key, Self::Value>) -> U,
Self: Sized,
[src]A convenience for calling SignalMap::poll_map_change
on Unpin
types.