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