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