pub enum ModulationError {
Bandwidth(u32),
SpreadingFactor(u8),
ExplicitHeaderAtSf6,
}Expand description
Why a link’s settings cannot be put on an SX127x.
Variants§
Bandwidth(u32)
The bandwidth, in hertz, is not one the SX127x offers, or not one it offers at the carrier frequency.
SpreadingFactor(u8)
The spreading factor is below SF6, the lowest the SX127x offers.
ExplicitHeaderAtSf6
SF6 with an explicit header, which the datasheet does not allow.
Trait Implementations§
Source§impl Clone for ModulationError
impl Clone for ModulationError
Source§fn clone(&self) -> ModulationError
fn clone(&self) -> ModulationError
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 ModulationError
Source§impl Debug for ModulationError
impl Debug for ModulationError
impl Eq for ModulationError
Source§impl Hash for ModulationError
impl Hash for ModulationError
Source§impl PartialEq for ModulationError
impl PartialEq for ModulationError
Source§fn eq(&self, other: &ModulationError) -> bool
fn eq(&self, other: &ModulationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModulationError
Auto Trait Implementations§
impl Freeze for ModulationError
impl RefUnwindSafe for ModulationError
impl Send for ModulationError
impl Sync for ModulationError
impl Unpin for ModulationError
impl UnsafeUnpin for ModulationError
impl UnwindSafe for ModulationError
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