[−][src]Struct futures_util::try_stream::TryFilterMap
A combinator that attempts to filter the results of a stream and simultaneously map them to a different type.
This structure is returned by the
try_filter_map
method.
Methods
impl<St, Fut, F> TryFilterMap<St, Fut, F>
[src]
[−]
impl<St, Fut, F> TryFilterMap<St, Fut, F>
ⓘImportant traits for &'a mut Wpub fn get_ref(&self) -> &St
[src]
[−]
ⓘImportant traits for &'a mut W
pub fn get_ref(&self) -> &St
Acquires a reference to the underlying stream that this combinator is pulling from.
ⓘImportant traits for &'a mut Wpub fn get_mut(&mut self) -> &mut St
[src]
[−]
ⓘImportant traits for &'a mut W
pub fn get_mut(&mut self) -> &mut St
Acquires a mutable reference to the underlying stream that this combinator is pulling from.
Note that care must be taken to avoid tampering with the state of the stream which may otherwise confuse this combinator.
pub fn into_inner(self) -> St
[src]
[−]
pub fn into_inner(self) -> St
Consumes this combinator, returning the underlying stream.
Note that this may discard intermediate state of this combinator, so care should be taken to avoid losing resources when this is called.
Trait Implementations
impl<St: Debug, Fut: Debug, F: Debug> Debug for TryFilterMap<St, Fut, F>
[src]
[+]
impl<St: Debug, Fut: Debug, F: Debug> Debug for TryFilterMap<St, Fut, F>
impl<St, Fut, F> Unpin for TryFilterMap<St, Fut, F> where
St: Unpin,
Fut: Unpin,
[src]
impl<St, Fut, F> Unpin for TryFilterMap<St, Fut, F> where
St: Unpin,
Fut: Unpin,
impl<St, Fut, F, T> Stream for TryFilterMap<St, Fut, F> where
St: TryStream,
Fut: TryFuture<Ok = Option<T>, Error = St::Error>,
F: FnMut(St::Ok) -> Fut,
[src]
[+]
impl<St, Fut, F, T> Stream for TryFilterMap<St, Fut, F> where
St: TryStream,
Fut: TryFuture<Ok = Option<T>, Error = St::Error>,
F: FnMut(St::Ok) -> Fut,
Auto Trait Implementations
impl<St, Fut, F> Send for TryFilterMap<St, Fut, F> where
F: Send,
Fut: Send,
St: Send,
impl<St, Fut, F> Send for TryFilterMap<St, Fut, F> where
F: Send,
Fut: Send,
St: Send,
impl<St, Fut, F> Sync for TryFilterMap<St, Fut, F> where
F: Sync,
Fut: Sync,
St: Sync,
impl<St, Fut, F> Sync for TryFilterMap<St, Fut, F> where
F: Sync,
Fut: Sync,
St: Sync,