pub enum MykoMessage<Commands> {
Query(WrappedQuery),
QueryResponse(QueryResponse),
Report(WrappedReport),
ReportResponse(ReportResponse),
ReportError(ReportError),
QueryError(QueryError),
Event(MEvent),
Command(Commands),
}Variants§
Query(WrappedQuery)
QueryResponse(QueryResponse)
Report(WrappedReport)
ReportResponse(ReportResponse)
ReportError(ReportError)
QueryError(QueryError)
Event(MEvent)
Command(Commands)
Trait Implementations§
Source§impl<Commands: Clone> Clone for MykoMessage<Commands>
impl<Commands: Clone> Clone for MykoMessage<Commands>
Source§fn clone(&self) -> MykoMessage<Commands>
fn clone(&self) -> MykoMessage<Commands>
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<Commands: Debug> Debug for MykoMessage<Commands>
impl<Commands: Debug> Debug for MykoMessage<Commands>
Source§impl<'de, Commands> Deserialize<'de> for MykoMessage<Commands>where
Commands: Deserialize<'de>,
impl<'de, Commands> Deserialize<'de> for MykoMessage<Commands>where
Commands: Deserialize<'de>,
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
Auto Trait Implementations§
impl<Commands> Freeze for MykoMessage<Commands>where
Commands: Freeze,
impl<Commands> RefUnwindSafe for MykoMessage<Commands>where
Commands: RefUnwindSafe,
impl<Commands> Send for MykoMessage<Commands>where
Commands: Send,
impl<Commands> Sync for MykoMessage<Commands>where
Commands: Sync,
impl<Commands> Unpin for MykoMessage<Commands>where
Commands: Unpin,
impl<Commands> UnwindSafe for MykoMessage<Commands>where
Commands: UnwindSafe,
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