pub enum BrowserControl {
SecureCookie,
HttpOnlyCookie,
SameSiteCookie,
CsrfProtection,
Hsts,
ContentSecurityPolicy,
NoSniff,
}Expand description
Mandatory browser control that a host adapter must enforce.
Variants§
Trait Implementations§
Source§impl Clone for BrowserControl
impl Clone for BrowserControl
Source§fn clone(&self) -> BrowserControl
fn clone(&self) -> BrowserControl
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 moreimpl Copy for BrowserControl
Source§impl Debug for BrowserControl
impl Debug for BrowserControl
Source§impl<'de> Deserialize<'de> for BrowserControl
impl<'de> Deserialize<'de> for BrowserControl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BrowserControl
Source§impl Ord for BrowserControl
impl Ord for BrowserControl
Source§fn cmp(&self, other: &BrowserControl) -> Ordering
fn cmp(&self, other: &BrowserControl) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BrowserControl
impl PartialEq for BrowserControl
Source§impl PartialOrd for BrowserControl
impl PartialOrd for BrowserControl
Source§impl Serialize for BrowserControl
impl Serialize for BrowserControl
impl StructuralPartialEq for BrowserControl
Auto Trait Implementations§
impl Freeze for BrowserControl
impl RefUnwindSafe for BrowserControl
impl Send for BrowserControl
impl Sync for BrowserControl
impl Unpin for BrowserControl
impl UnsafeUnpin for BrowserControl
impl UnwindSafe for BrowserControl
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