pub struct Stream<'a, T> { /* private fields */ }Available on crate feature
futures-core only.Expand description
A futures_core::Stream implementation that returns elements from the stream, one by one, until it’s closed.
Returned by Receiver::stream.
Trait Implementations§
Source§impl<'a, T> Stream for Stream<'a, T>
impl<'a, T> Stream for Stream<'a, T>
impl<'pin, 'a, T> Unpin for Stream<'a, T>where
PinnedFieldsOf<__Stream<'pin, 'a, T>>: Unpin,
Auto Trait Implementations§
impl<'a, T> !Freeze for Stream<'a, T>
impl<'a, T> !RefUnwindSafe for Stream<'a, T>
impl<'a, T> Send for Stream<'a, T>where
T: Send,
impl<'a, T> !Sync for Stream<'a, T>
impl<'a, T> !UnwindSafe for Stream<'a, T>
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