pub enum CommunicationEvent {
Message(MessageEvent),
State(StateEvent),
}
Expand description
Various communication events.
Variants§
Trait Implementations§
source§impl Clone for CommunicationEvent
impl Clone for CommunicationEvent
source§fn clone(&self) -> CommunicationEvent
fn clone(&self) -> CommunicationEvent
Returns a copy 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 CommunicationEvent
impl Debug for CommunicationEvent
source§impl<'de> Deserialize<'de> for CommunicationEvent
impl<'de> Deserialize<'de> for CommunicationEvent
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<MessageEvent> for CommunicationEvent
impl From<MessageEvent> for CommunicationEvent
source§fn from(v: MessageEvent) -> CommunicationEvent
fn from(v: MessageEvent) -> CommunicationEvent
Converts to this type from the input type.
source§impl From<StateEvent> for CommunicationEvent
impl From<StateEvent> for CommunicationEvent
source§fn from(v: StateEvent) -> CommunicationEvent
fn from(v: StateEvent) -> CommunicationEvent
Converts to this type from the input type.
source§impl Hash for CommunicationEvent
impl Hash for CommunicationEvent
source§impl PartialEq for CommunicationEvent
impl PartialEq for CommunicationEvent
source§impl Serialize for CommunicationEvent
impl Serialize for CommunicationEvent
impl Copy for CommunicationEvent
impl Eq for CommunicationEvent
impl StructuralPartialEq for CommunicationEvent
Auto Trait Implementations§
impl Freeze for CommunicationEvent
impl RefUnwindSafe for CommunicationEvent
impl Send for CommunicationEvent
impl Sync for CommunicationEvent
impl Unpin for CommunicationEvent
impl UnwindSafe for CommunicationEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)