#[repr(u8)]pub enum PamojaSx126xCommandStatus {
Other = 0,
DataAvailable = 2,
Timeout = 3,
ProcessingError = 4,
ExecutionFailure = 5,
TxDone = 6,
}Expand description
How the last command went, as an SX126x reports it in its status byte.
Variants§
Other = 0
A value the datasheet leaves unused, which includes a command that went well.
DataAvailable = 2
A packet has been received and waits in the data buffer.
Timeout = 3
A command timed out.
ProcessingError = 4
A command could not be processed.
ExecutionFailure = 5
A command failed to execute.
TxDone = 6
A transmission has finished.
Trait Implementations§
Source§impl Clone for PamojaSx126xCommandStatus
impl Clone for PamojaSx126xCommandStatus
Source§fn clone(&self) -> PamojaSx126xCommandStatus
fn clone(&self) -> PamojaSx126xCommandStatus
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 PamojaSx126xCommandStatus
Source§impl Debug for PamojaSx126xCommandStatus
impl Debug for PamojaSx126xCommandStatus
impl Eq for PamojaSx126xCommandStatus
impl StructuralPartialEq for PamojaSx126xCommandStatus
Auto Trait Implementations§
impl Freeze for PamojaSx126xCommandStatus
impl RefUnwindSafe for PamojaSx126xCommandStatus
impl Send for PamojaSx126xCommandStatus
impl Sync for PamojaSx126xCommandStatus
impl Unpin for PamojaSx126xCommandStatus
impl UnsafeUnpin for PamojaSx126xCommandStatus
impl UnwindSafe for PamojaSx126xCommandStatus
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