pub struct NetworkSettings {
pub channel: u8,
pub pan_id: PanId,
pub extended_pan_id: ExtPanId,
pub network_key: Key,
pub tx_power: Option<i8>,
}Expand description
The network a coordinator should run.
Fields§
§channel: u8Channel, 11 to 26.
pan_id: PanIdPAN id.
extended_pan_id: ExtPanIdExtended PAN id.
network_key: KeyNetwork key.
tx_power: Option<i8>Transmit power, dBm, if not the firmware’s default.
Trait Implementations§
Source§impl Clone for NetworkSettings
impl Clone for NetworkSettings
Source§impl Debug for NetworkSettings
impl Debug for NetworkSettings
impl Eq for NetworkSettings
Source§impl PartialEq for NetworkSettings
impl PartialEq for NetworkSettings
impl StructuralPartialEq for NetworkSettings
Auto Trait Implementations§
impl Freeze for NetworkSettings
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnsafeUnpin for NetworkSettings
impl UnwindSafe for NetworkSettings
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