Struct esp_wifi_sys::include::esp_now_peer_num
source · #[repr(C)]pub struct esp_now_peer_num {
pub total_num: c_int,
pub encrypt_num: c_int,
}
Expand description
@brief Number of ESPNOW peers which exist currently.
Fields§
§total_num: c_int
< Total number of ESPNOW peers, maximum value is ESP_NOW_MAX_TOTAL_PEER_NUM
encrypt_num: c_int
< 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 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl 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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§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
)