pub struct DownloadHeadCtx<'a> {
pub task: &'a TransferTask,
pub base: &'a mut HeaderMap,
}Expand description
Header merge context for download HEAD request.
Fields§
§task: &'a TransferTaskImmutable task snapshot.
base: &'a mut HeaderMapMutable base headers cloned from task.
Auto Trait Implementations§
impl<'a> Freeze for DownloadHeadCtx<'a>
impl<'a> !RefUnwindSafe for DownloadHeadCtx<'a>
impl<'a> Send for DownloadHeadCtx<'a>
impl<'a> Sync for DownloadHeadCtx<'a>
impl<'a> Unpin for DownloadHeadCtx<'a>
impl<'a> UnsafeUnpin for DownloadHeadCtx<'a>
impl<'a> !UnwindSafe for DownloadHeadCtx<'a>
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