[−][src]Struct futures_signals::signal_map::MapValue
Trait Implementations
impl<A: Debug, B: Debug> Debug for MapValue<A, B>
[src]
impl<A, B, F> SignalMap for MapValue<A, F> where
A: SignalMap,
F: FnMut(A::Value) -> B,
[src]
A: SignalMap,
F: FnMut(A::Value) -> B,
type Key = A::Key
type Value = B
pub fn poll_map_change(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<MapDiff<Self::Key, Self::Value>>>
[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<MapDiff<Self::Key, Self::Value>>>
impl<'pin, A, B> Unpin for MapValue<A, B> where
__MapValue<'pin, A, B>: Unpin,
[src]
__MapValue<'pin, A, B>: Unpin,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for MapValue<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for MapValue<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for MapValue<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> UnwindSafe for MapValue<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SignalMapExt for T where
T: SignalMap + ?Sized,
[src]
T: SignalMap + ?Sized,
pub fn map_value<A, F>(self, callback: F) -> MapValue<Self, F> where
F: FnMut(Self::Value) -> A,
Self: Sized,
[src]
F: FnMut(Self::Value) -> A,
Self: Sized,
pub fn poll_map_change_unpin(
&mut self,
cx: &mut Context<'_>
) -> Poll<Option<MapDiff<Self::Key, Self::Value>>> where
Self: Unpin + Sized,
[src]
&mut self,
cx: &mut Context<'_>
) -> Poll<Option<MapDiff<Self::Key, Self::Value>>> where
Self: Unpin + Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,