pub struct Config {Show 14 fields
pub auto_ack_tx: bool,
pub auto_ack_rx: bool,
pub enhance_ack_tx: bool,
pub promiscuous: bool,
pub coordinator: bool,
pub rx_when_idle: bool,
pub txpower: i8,
pub channel: u8,
pub cca_threshold: i8,
pub cca_mode: CcaMode,
pub pan_id: Option<u16>,
pub short_addr: Option<u16>,
pub ext_addr: Option<u64>,
pub rx_queue_size: usize,
}Available on crate feature
unstable only.Expand description
IEEE 802.15.4 driver configuration
Fields§
§auto_ack_tx: bool§auto_ack_rx: bool§enhance_ack_tx: bool§promiscuous: bool§coordinator: bool§rx_when_idle: bool§txpower: i8§channel: u8§cca_threshold: i8§cca_mode: CcaMode§pan_id: Option<u16>§short_addr: Option<u16>§ext_addr: Option<u64>§rx_queue_size: usizeTrait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)