Struct esp_idf_hal::sys::esp_now_peer_num
source · #[repr(C)]pub struct esp_now_peer_num {
pub total_num: i32,
pub encrypt_num: i32,
}
Expand description
@brief Number of ESPNOW peers which exist currently.
Fields§
§total_num: i32
< Total number of ESPNOW peers, maximum value is ESP_NOW_MAX_TOTAL_PEER_NUM
encrypt_num: i32
< Number of encrypted ESPNOW peers, maximum value is ESP_NOW_MAX_ENCRYPT_PEER_NUM
Trait Implementations§
source§impl Clone for esp_now_peer_num
impl Clone for esp_now_peer_num
source§fn clone(&self) -> esp_now_peer_num
fn clone(&self) -> esp_now_peer_num
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 Debug for esp_now_peer_num
impl Debug for esp_now_peer_num
source§impl Default for esp_now_peer_num
impl Default for esp_now_peer_num
source§fn default() -> esp_now_peer_num
fn default() -> esp_now_peer_num
Returns the “default value” for a type. Read more
impl Copy for esp_now_peer_num
Auto Trait Implementations§
impl Freeze for esp_now_peer_num
impl RefUnwindSafe for esp_now_peer_num
impl Send for esp_now_peer_num
impl Sync for esp_now_peer_num
impl Unpin for esp_now_peer_num
impl UnwindSafe for esp_now_peer_num
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
)