Struct snafu::futures::try_stream::WhateverContext
source · pub struct WhateverContext<St, S, E> { /* private fields */ }
Expand description
Stream for the
whatever_context
combinator.
See the TryStreamExt::whatever_context
method for more
details.
Trait Implementations§
source§impl<St, S, E> Stream for WhateverContext<St, S, E>
impl<St, S, E> Stream for WhateverContext<St, S, E>
impl<'pin, St, S, E> Unpin for WhateverContext<St, S, E>where
__WhateverContext<'pin, St, S, E>: Unpin,
Auto Trait Implementations§
impl<St, S, E> Freeze for WhateverContext<St, S, E>
impl<St, S, E> RefUnwindSafe for WhateverContext<St, S, E>
impl<St, S, E> Send for WhateverContext<St, S, E>
impl<St, S, E> Sync for WhateverContext<St, S, E>
impl<St, S, E> UnwindSafe for WhateverContext<St, S, E>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<S, T, E> TryStream for S
impl<S, T, E> TryStream for S
source§impl<St> TryStreamExt for Stwhere
St: TryStream,
impl<St> TryStreamExt for Stwhere
St: TryStream,
source§fn context<C, E>(self, context: C) -> Context<St, C, E>
fn context<C, E>(self, context: C) -> Context<St, C, E>
Extend a [
TryStream
]’s error with additional context-sensitive
information. Read moresource§fn with_context<F, C, E>(self, context: F) -> WithContext<St, F, E>where
F: FnMut(&mut <St as TryStream>::Error) -> C,
C: IntoError<E, Source = <St as TryStream>::Error>,
E: Error + ErrorCompat,
fn with_context<F, C, E>(self, context: F) -> WithContext<St, F, E>where
F: FnMut(&mut <St as TryStream>::Error) -> C,
C: IntoError<E, Source = <St as TryStream>::Error>,
E: Error + ErrorCompat,
Extend a [
TryStream
]’s error with lazily-generated
context-sensitive information. Read moresource§fn whatever_context<S, E>(self, context: S) -> WhateverContext<St, S, E>
fn whatever_context<S, E>(self, context: S) -> WhateverContext<St, S, E>
Extend a [
TryStream
]’s error with information from a string. Read moresource§fn with_whatever_context<F, S, E>(
self,
context: F,
) -> WithWhateverContext<St, F, E>
fn with_whatever_context<F, S, E>( self, context: F, ) -> WithWhateverContext<St, F, E>
Extend a [
TryStream
]’s error with information from a
lazily-generated string. Read more