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