Struct esp_idf_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
sourceimpl Clone for mesh_cfg_t
impl Clone for mesh_cfg_t
sourcefn clone(&self) -> mesh_cfg_t
fn clone(&self) -> mesh_cfg_t
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for mesh_cfg_t
impl Default for mesh_cfg_t
impl Copy for mesh_cfg_t
Auto Trait Implementations
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> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more