#[repr(C)]pub struct PamojaLorawanDeviceError {
pub until_us: u64,
pub max: u32,
pub kind: u8,
pub data_rate: u8,
pub state: u8,
pub format: u8,
}Expand description
Why a device’s last call failed.
Fields§
§until_us: u64For PAMOJA_LORAWAN_DEVICE_WAIT, the earliest time to try again, in microseconds.
max: u32For PAMOJA_LORAWAN_DEVICE_PAYLOAD_TOO_LONG, the most the frame carries, and for
PAMOJA_LORAWAN_DEVICE_TOO_MANY_CHANNELS, the most channels a device keeps.
kind: u8One of the PAMOJA_LORAWAN_DEVICE_* constants.
data_rate: u8For PAMOJA_LORAWAN_DEVICE_DATA_RATE, the data rate.
state: u8For PAMOJA_LORAWAN_DEVICE_STATE, one of the PAMOJA_LORAWAN_STATE_* constants.
format: u8For PAMOJA_LORAWAN_STATE_FORMAT, the format the state was saved in.
Trait Implementations§
Source§impl Clone for PamojaLorawanDeviceError
impl Clone for PamojaLorawanDeviceError
Source§fn clone(&self) -> PamojaLorawanDeviceError
fn clone(&self) -> PamojaLorawanDeviceError
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 PamojaLorawanDeviceError
Source§impl Debug for PamojaLorawanDeviceError
impl Debug for PamojaLorawanDeviceError
impl Eq for PamojaLorawanDeviceError
Source§impl PartialEq for PamojaLorawanDeviceError
impl PartialEq for PamojaLorawanDeviceError
impl StructuralPartialEq for PamojaLorawanDeviceError
Auto Trait Implementations§
impl Freeze for PamojaLorawanDeviceError
impl RefUnwindSafe for PamojaLorawanDeviceError
impl Send for PamojaLorawanDeviceError
impl Sync for PamojaLorawanDeviceError
impl Unpin for PamojaLorawanDeviceError
impl UnsafeUnpin for PamojaLorawanDeviceError
impl UnwindSafe for PamojaLorawanDeviceError
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