Struct dwh::DownloadStream
source · pub struct DownloadStream {
pub stream: Pin<Box<dyn Stream<Item = Result<Bytes>>>>,
pub content_length: Option<usize>,
}Fields§
§stream: Pin<Box<dyn Stream<Item = Result<Bytes>>>>§content_length: Option<usize>Auto Trait Implementations§
impl !RefUnwindSafe for DownloadStream
impl !Send for DownloadStream
impl !Sync for DownloadStream
impl Unpin for DownloadStream
impl !UnwindSafe for DownloadStream
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