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