pub struct WithWhateverContext<St, F, E> { /* private fields */ }Available on crate feature
futures only.Expand description
Stream for the
with_whatever_context
combinator.
See the TryStreamExt::with_whatever_context method for more
details.
Trait Implementations§
Source§impl<St, F, S, E> Stream for WithWhateverContext<St, F, E>
Available on crate features alloc only.
impl<St, F, S, E> Stream for WithWhateverContext<St, F, E>
Available on crate features
alloc only.impl<'pin, St, F, E> Unpin for WithWhateverContext<St, F, E>where
PinnedFieldsOf<__WithWhateverContext<'pin, St, F, E>>: Unpin,
Auto Trait Implementations§
impl<St, F, E> Freeze for WithWhateverContext<St, F, E>
impl<St, F, E> RefUnwindSafe for WithWhateverContext<St, F, E>
impl<St, F, E> Send for WithWhateverContext<St, F, E>
impl<St, F, E> Sync for WithWhateverContext<St, F, E>
impl<St, F, E> UnsafeUnpin for WithWhateverContext<St, F, E>where
St: UnsafeUnpin,
F: UnsafeUnpin,
impl<St, F, E> UnwindSafe for WithWhateverContext<St, F, 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
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>
Available on crate feature
futures only.Source§fn with_context<F, C, E>(self, context: F) -> WithContext<St, F, E>
fn with_context<F, C, E>(self, context: F) -> WithContext<St, F, E>
Available on crate feature
futures only.Source§fn whatever_context<S, E>(self, context: S) -> WhateverContext<St, S, E>
fn whatever_context<S, E>(self, context: S) -> WhateverContext<St, S, E>
Available on crate feature
futures and (crate features alloc) only.Source§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>
Available on crate feature
futures and (crate features alloc) only.