pub struct ByteStream { /* private fields */ }Expand description
Re-export PrgressStream
Implementations§
Source§impl ByteStream
impl ByteStream
pub fn from_bytes(bytes: Bytes) -> Self
Trait Implementations§
Source§impl From<ByteStream> for ProgressStream<Cursor<Bytes>>
impl From<ByteStream> for ProgressStream<Cursor<Bytes>>
Source§fn from(stream: ByteStream) -> Self
fn from(stream: ByteStream) -> Self
Converts to this type from the input type.
impl<'__pin> Unpin for ByteStreamwhere
PinnedFieldsOf<__Origin<'__pin>>: Unpin,
Auto Trait Implementations§
impl !Freeze for ByteStream
impl RefUnwindSafe for ByteStream
impl Send for ByteStream
impl Sync for ByteStream
impl UnsafeUnpin for ByteStream
impl UnwindSafe for ByteStream
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