#[non_exhaustive]pub struct BinaryDownloadOutput { /* private fields */ }Expand description
Successful result of a BinaryTask.
Implementations§
Source§impl BinaryDownloadOutput
impl BinaryDownloadOutput
Sourcepub fn content_type(&self) -> Option<&HeaderValue>
pub fn content_type(&self) -> Option<&HeaderValue>
Borrows the final successful response’s Content-Type header.
Sourcepub fn into_parts(self) -> (Bytes, Option<HeaderValue>)
pub fn into_parts(self) -> (Bytes, Option<HeaderValue>)
Moves body and metadata out without copying the body.
Trait Implementations§
Source§impl Clone for BinaryDownloadOutput
impl Clone for BinaryDownloadOutput
Source§fn clone(&self) -> BinaryDownloadOutput
fn clone(&self) -> BinaryDownloadOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for BinaryDownloadOutput
impl RefUnwindSafe for BinaryDownloadOutput
impl Send for BinaryDownloadOutput
impl Sync for BinaryDownloadOutput
impl Unpin for BinaryDownloadOutput
impl UnsafeUnpin for BinaryDownloadOutput
impl UnwindSafe for BinaryDownloadOutput
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