pub struct JsStream { /* private fields */ }
Available on crate feature
futures-core-03-stream
only.Expand description
A Stream
that yields values from an underlying AsyncIterator
.
Trait Implementations§
Source§impl From<AsyncIterator> for JsStream
impl From<AsyncIterator> for JsStream
Source§fn from(iter: AsyncIterator) -> Self
fn from(iter: AsyncIterator) -> Self
Converts to this type from the input type.
Source§impl Stream for JsStream
impl Stream for JsStream
Auto Trait Implementations§
impl Freeze for JsStream
impl !RefUnwindSafe for JsStream
impl !Send for JsStream
impl !Sync for JsStream
impl Unpin for JsStream
impl !UnwindSafe for JsStream
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