pub enum SecureContextType {
Secure,
SecureLocalhost,
InsecureScheme,
InsecureAncestor,
Unrecognized(String),
}Expand description
Indicates whether the frame is a secure context and why it is the case.
Experimental: may change without notice.
Variants§
Secure
Secure
SecureLocalhost
SecureLocalhost
InsecureScheme
InsecureScheme
InsecureAncestor
InsecureAncestor
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for SecureContextType
impl Clone for SecureContextType
Source§impl Debug for SecureContextType
impl Debug for SecureContextType
Source§impl<'de> Deserialize<'de> for SecureContextType
impl<'de> Deserialize<'de> for SecureContextType
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 SecureContextType
Source§impl Hash for SecureContextType
impl Hash for SecureContextType
Source§impl PartialEq for SecureContextType
impl PartialEq for SecureContextType
Source§impl Serialize for SecureContextType
impl Serialize for SecureContextType
impl StructuralPartialEq for SecureContextType
Auto Trait Implementations§
impl Forget for SecureContextType
impl Freeze for SecureContextType
impl RefUnwindSafe for SecureContextType
impl Send for SecureContextType
impl Sync for SecureContextType
impl Unpin for SecureContextType
impl UnsafeUnpin for SecureContextType
impl UnwindSafe for SecureContextType
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