pub enum Region {
Us915,
Au915,
Eu433,
Eu865,
Eu868,
Eu869,
As923,
In865,
Cn470,
Kr920,
Jp920,
Unlimited,
}Variants§
Implementations§
Source§impl Region
impl Region
pub const ALL: [Region; 12]
pub const fn band(self) -> (u32, u32)
pub const fn default_frequency(self) -> Frequency
pub const fn max_tx_power(self) -> TxPower
pub const fn regulatory_duty_cycle(self) -> Option<AirtimeDutyCycle>
pub const fn label(self) -> &'static str
pub const fn next(self) -> Region
Trait Implementations§
impl Copy for Region
impl Eq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnsafeUnpin for Region
impl UnwindSafe for Region
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