Struct snafu::futures::try_stream::WithContext [−][src]
pub struct WithContext<St, F, E> { /* fields omitted */ }
Expand description
Stream for the with_context
combinator.
See the TryStreamExt::with_context
method for more details.
Trait Implementations
impl<St, F, C, E> Stream for WithContext<St, F, E> where
St: TryStream,
F: FnMut(&mut St::Error) -> C,
C: IntoError<E, Source = St::Error>,
E: Error + ErrorCompat,
impl<St, F, C, E> Stream for WithContext<St, F, E> where
St: TryStream,
F: FnMut(&mut St::Error) -> C,
C: IntoError<E, Source = St::Error>,
E: Error + ErrorCompat,
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None
if the stream is exhausted. Read more
impl<'pin, St, F, E> Unpin for WithContext<St, F, E> where
__WithContext<'pin, St, F, E>: Unpin,
Auto Trait Implementations
impl<St, F, E> RefUnwindSafe for WithContext<St, F, E> where
E: RefUnwindSafe,
F: RefUnwindSafe,
St: RefUnwindSafe,
impl<St, F, E> Send for WithContext<St, F, E> where
E: Send,
F: Send,
St: Send,
impl<St, F, E> Sync for WithContext<St, F, E> where
E: Sync,
F: Sync,
St: Sync,
impl<St, F, E> UnwindSafe for WithContext<St, F, E> where
E: UnwindSafe,
F: UnwindSafe,
St: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more