pub struct PeerCount {
pub total_count: i32,
pub encrypted_count: i32,
}Available on crate features
esp-now and unstable only.Expand description
Holds the count of peers in an ESP-NOW communication context.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Fields§
§total_count: i32The total number of peers.
encrypted_count: i32The number of encrypted peers.
Trait Implementations§
impl Copy for PeerCount
impl Eq for PeerCount
impl StructuralPartialEq for PeerCount
Auto Trait Implementations§
impl Freeze for PeerCount
impl RefUnwindSafe for PeerCount
impl Send for PeerCount
impl Sync for PeerCount
impl Unpin for PeerCount
impl UnwindSafe for PeerCount
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,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)