pub enum CommunicationEvent {
Message(MessageEvent),
State(StateEvent),
}
Expand description
Various communication events.
Variants§
Trait Implementations§
source§impl Abomonation for CommunicationEvent
impl Abomonation for CommunicationEvent
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 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§fn eq(&self, other: &CommunicationEvent) -> bool
fn eq(&self, other: &CommunicationEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CommunicationEvent
impl Eq for CommunicationEvent
impl StructuralEq for CommunicationEvent
impl StructuralPartialEq for CommunicationEvent
Auto Trait Implementations§
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