pub struct DownloadHeadCtx<'a> {
pub task: &'a TransferTask,
pub base: &'a mut HeaderMap,
}Expand description
下载 HEAD 阶段请求头合并上下文。
Fields§
§task: &'a TransferTask§base: &'a mut HeaderMapAuto 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