pub struct Hsts { /* private fields */ }Expand description
Strict-Transport-Security on responses to secure requests
The header is ignored by browsers on plain HTTP, so it is only sent when the request was secure.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hsts
impl RefUnwindSafe for Hsts
impl Send for Hsts
impl Sync for Hsts
impl Unpin for Hsts
impl UnsafeUnpin for Hsts
impl UnwindSafe for Hsts
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