pub enum UartBackendEvent {
Message(MessageEvent),
SendFailed(SendFailedEvent),
Idle,
}Expand description
High-level event produced by the MCU/passive UART backend.
Variants§
Message(MessageEvent)
A complete application message was received.
SendFailed(SendFailedEvent)
Reliable send failed.
Idle
No action is currently pending.
Trait Implementations§
Source§impl Clone for UartBackendEvent
impl Clone for UartBackendEvent
Source§fn clone(&self) -> UartBackendEvent
fn clone(&self) -> UartBackendEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UartBackendEvent
Source§impl Debug for UartBackendEvent
impl Debug for UartBackendEvent
impl Eq for UartBackendEvent
Source§impl PartialEq for UartBackendEvent
impl PartialEq for UartBackendEvent
Source§fn eq(&self, other: &UartBackendEvent) -> bool
fn eq(&self, other: &UartBackendEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UartBackendEvent
Auto Trait Implementations§
impl Freeze for UartBackendEvent
impl RefUnwindSafe for UartBackendEvent
impl Send for UartBackendEvent
impl Sync for UartBackendEvent
impl Unpin for UartBackendEvent
impl UnsafeUnpin for UartBackendEvent
impl UnwindSafe for UartBackendEvent
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