pub struct DownloadResponse {
pub status: u16,
pub commit: Option<String>,
pub length: Option<u64>,
pub body: Pin<Box<dyn AsyncRead + Send>>,
}Fields§
§status: u16§commit: Option<String>§length: Option<u64>§body: Pin<Box<dyn AsyncRead + Send>>Auto Trait Implementations§
impl !RefUnwindSafe for DownloadResponse
impl !Sync for DownloadResponse
impl !UnwindSafe for DownloadResponse
impl Freeze for DownloadResponse
impl Send for DownloadResponse
impl Unpin for DownloadResponse
impl UnsafeUnpin for DownloadResponse
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