Struct esp_idf_svc::hal::sys::mesh_cfg_t
source · #[repr(C)]pub struct mesh_cfg_t {
pub channel: u8,
pub allow_channel_switch: bool,
pub mesh_id: mesh_addr_t,
pub router: mesh_router_t,
pub mesh_ap: mesh_ap_cfg_t,
pub crypto_funcs: *const mesh_crypto_funcs_t,
}
Expand description
@brief Mesh initialization configuration
Fields§
§channel: u8
< channel, the mesh network on
allow_channel_switch: bool
< if this value is set, when “fail” (mesh_attempts_t) times is reached, device will change to a full channel scan for a network that could join. The default value is false.
mesh_id: mesh_addr_t
< mesh network identification
router: mesh_router_t
< router configuration
mesh_ap: mesh_ap_cfg_t
< mesh softAP configuration
crypto_funcs: *const mesh_crypto_funcs_t
< crypto functions
Trait Implementations§
source§impl Clone for mesh_cfg_t
impl Clone for mesh_cfg_t
source§fn clone(&self) -> mesh_cfg_t
fn clone(&self) -> mesh_cfg_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for mesh_cfg_t
impl Default for mesh_cfg_t
source§fn default() -> mesh_cfg_t
fn default() -> mesh_cfg_t
Returns the “default value” for a type. Read more
impl Copy for mesh_cfg_t
Auto Trait Implementations§
impl Freeze for mesh_cfg_t
impl RefUnwindSafe for mesh_cfg_t
impl !Send for mesh_cfg_t
impl !Sync for mesh_cfg_t
impl Unpin for mesh_cfg_t
impl UnwindSafe for mesh_cfg_t
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)