pub enum CommResult {
Success = 0,
PortBusy = -1,
TxFail = -2,
RxFail = -3,
TxError = -4,
RxWaiting = -5,
RxTimeout = -6,
RxCorrupt = -7,
NotAvailable = -9,
}Variants§
Success = 0
PortBusy = -1
TxFail = -2
RxFail = -3
TxError = -4
RxWaiting = -5
RxTimeout = -6
RxCorrupt = -7
NotAvailable = -9
Implementations§
Source§impl CommResult
impl CommResult
Trait Implementations§
Source§impl Clone for CommResult
impl Clone for CommResult
Source§fn clone(&self) -> CommResult
fn clone(&self) -> CommResult
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 Debug for CommResult
impl Debug for CommResult
Source§impl PartialEq for CommResult
impl PartialEq for CommResult
impl Copy for CommResult
impl Eq for CommResult
impl StructuralPartialEq for CommResult
Auto Trait Implementations§
impl Freeze for CommResult
impl RefUnwindSafe for CommResult
impl Send for CommResult
impl Sync for CommResult
impl Unpin for CommResult
impl UnwindSafe for CommResult
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