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