pub enum SecurityCommands {
Disable(Disable),
Enable(Enable),
SetIgnoreCertificateErrors(SetIgnoreCertificateErrors),
}Variants§
Implementations§
Source§impl SecurityCommands
impl SecurityCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SecurityCommands
impl Clone for SecurityCommands
Source§fn clone(&self) -> SecurityCommands
fn clone(&self) -> SecurityCommands
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecurityCommands
impl Debug for SecurityCommands
Source§impl<'de> Deserialize<'de> for SecurityCommands
impl<'de> Deserialize<'de> for SecurityCommands
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
Source§impl From<Disable> for SecurityCommands
impl From<Disable> for SecurityCommands
Source§impl From<Enable> for SecurityCommands
impl From<Enable> for SecurityCommands
Source§impl From<SecurityCommands> for BrowserProtocolCommands
impl From<SecurityCommands> for BrowserProtocolCommands
Source§fn from(v: SecurityCommands) -> Self
fn from(v: SecurityCommands) -> Self
Converts to this type from the input type.
Source§impl From<SecurityCommands> for Command
impl From<SecurityCommands> for Command
Source§fn from(v: SecurityCommands) -> Self
fn from(v: SecurityCommands) -> Self
Converts to this type from the input type.
Source§impl From<SetIgnoreCertificateErrors> for SecurityCommands
impl From<SetIgnoreCertificateErrors> for SecurityCommands
Source§fn from(v: SetIgnoreCertificateErrors) -> Self
fn from(v: SetIgnoreCertificateErrors) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecurityCommands
impl PartialEq for SecurityCommands
Source§impl Serialize for SecurityCommands
impl Serialize for SecurityCommands
Source§impl TryFrom<BrowserProtocolCommands> for SecurityCommands
impl TryFrom<BrowserProtocolCommands> for SecurityCommands
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SecurityCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SecurityCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SecurityCommands
impl TryFrom<Command> for SecurityCommands
Source§impl TryFrom<SecurityCommands> for Disable
impl TryFrom<SecurityCommands> for Disable
Source§type Error = SecurityCommands
type Error = SecurityCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: SecurityCommands,
) -> Result<Self, <Disable as TryFrom<SecurityCommands>>::Error>
fn try_from( e: SecurityCommands, ) -> Result<Self, <Disable as TryFrom<SecurityCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<SecurityCommands> for Enable
impl TryFrom<SecurityCommands> for Enable
Source§type Error = SecurityCommands
type Error = SecurityCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: SecurityCommands,
) -> Result<Self, <Enable as TryFrom<SecurityCommands>>::Error>
fn try_from( e: SecurityCommands, ) -> Result<Self, <Enable as TryFrom<SecurityCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<SecurityCommands> for SetIgnoreCertificateErrors
impl TryFrom<SecurityCommands> for SetIgnoreCertificateErrors
Source§type Error = SecurityCommands
type Error = SecurityCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: SecurityCommands,
) -> Result<Self, <SetIgnoreCertificateErrors as TryFrom<SecurityCommands>>::Error>
fn try_from( e: SecurityCommands, ) -> Result<Self, <SetIgnoreCertificateErrors as TryFrom<SecurityCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SecurityCommands
Auto Trait Implementations§
impl Freeze for SecurityCommands
impl RefUnwindSafe for SecurityCommands
impl Send for SecurityCommands
impl Sync for SecurityCommands
impl Unpin for SecurityCommands
impl UnsafeUnpin for SecurityCommands
impl UnwindSafe for SecurityCommands
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