pub struct XDownloadOptions;Expand description
XDownloadOptions sets the X-Download-Options header, which is specific to Internet Explorer
8. It forces potentially-unsafe downloads to be saved, mitigating execution of HTML in your
site’s context. For more, see this old post on MSDN.
Trait Implementations§
Source§impl Default for XDownloadOptions
impl Default for XDownloadOptions
Source§impl IntoHeader for XDownloadOptions
impl IntoHeader for XDownloadOptions
fn header_name(&self) -> HeaderName
fn header_value(&self) -> Result<HeaderValue, InvalidHeaderValue>
Auto Trait Implementations§
impl Freeze for XDownloadOptions
impl RefUnwindSafe for XDownloadOptions
impl Send for XDownloadOptions
impl Sync for XDownloadOptions
impl Unpin for XDownloadOptions
impl UnsafeUnpin for XDownloadOptions
impl UnwindSafe for XDownloadOptions
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