Struct tokio_stream::stream_ext::try_next::TryNext
source · pub struct TryNext<'a, St: ?Sized> {
inner: Next<'a, St>,
_pin: PhantomPinned,
}
Expand description
Fields§
§inner: Next<'a, St>
§_pin: PhantomPinned
Implementations§
Trait Implementations§
impl<'__pin, 'a, St: ?Sized> Unpin for TryNext<'a, St>where
PinnedFieldsOf<__Origin<'__pin, 'a, St>>: Unpin,
Auto Trait Implementations§
impl<'a, St> Freeze for TryNext<'a, St>where
St: ?Sized,
impl<'a, St> RefUnwindSafe for TryNext<'a, St>where
St: RefUnwindSafe + ?Sized,
impl<'a, St> Send for TryNext<'a, St>
impl<'a, St> Sync for TryNext<'a, St>
impl<'a, St> !UnwindSafe for TryNext<'a, St>
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more