pub struct RadioConfig { /* private fields */ }Implementations§
Source§impl RadioConfig
impl RadioConfig
pub fn new(input: RadioConfigInput) -> Result<RadioConfig, RadioConfigError>
pub const fn frequency(self) -> RadioFrequency
pub const fn bandwidth_hz(self) -> u32
pub const fn tx_power_dbm(self) -> i8
pub const fn spreading_factor(self) -> u8
pub const fn coding_rate(self) -> u8
pub const fn airtime_limit_short_centi_percent(self) -> Option<u16>
pub const fn airtime_limit_long_centi_percent(self) -> Option<u16>
pub const fn nominal_bitrate_bps(self) -> u32
pub fn init_command_bytes(self, vport: VPort) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for RadioConfig
impl Clone for RadioConfig
Source§fn clone(&self) -> RadioConfig
fn clone(&self) -> RadioConfig
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 RadioConfig
Source§impl Debug for RadioConfig
impl Debug for RadioConfig
impl Eq for RadioConfig
Source§impl PartialEq for RadioConfig
impl PartialEq for RadioConfig
impl StructuralPartialEq for RadioConfig
Auto Trait Implementations§
impl Freeze for RadioConfig
impl RefUnwindSafe for RadioConfig
impl Send for RadioConfig
impl Sync for RadioConfig
impl Unpin for RadioConfig
impl UnsafeUnpin for RadioConfig
impl UnwindSafe for RadioConfig
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