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