pub enum UartFrontendEvent {
Message(MessageEvent),
SendFailed(SendFailedEvent),
TransportUnavailable,
Idle,
}Expand description
High-level event produced by the Tokio host UART frontend.
Variants§
Message(MessageEvent)
A complete application message was received.
SendFailed(SendFailedEvent)
Reliable send failed.
Transport is currently unavailable.
Idle
No action is currently pending.
Trait Implementations§
Source§impl Clone for UartFrontendEvent
impl Clone for UartFrontendEvent
Source§fn clone(&self) -> UartFrontendEvent
fn clone(&self) -> UartFrontendEvent
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 UartFrontendEvent
Source§impl Debug for UartFrontendEvent
impl Debug for UartFrontendEvent
impl Eq for UartFrontendEvent
Source§impl PartialEq for UartFrontendEvent
impl PartialEq for UartFrontendEvent
Source§fn eq(&self, other: &UartFrontendEvent) -> bool
fn eq(&self, other: &UartFrontendEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UartFrontendEvent
Auto Trait Implementations§
impl Freeze for UartFrontendEvent
impl RefUnwindSafe for UartFrontendEvent
impl Send for UartFrontendEvent
impl Sync for UartFrontendEvent
impl Unpin for UartFrontendEvent
impl UnsafeUnpin for UartFrontendEvent
impl UnwindSafe for UartFrontendEvent
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