pub enum AdvertisingMode {
Plaintext,
Encrypted,
}Expand description
Advertising mode
Variants§
Plaintext
Plaintext beacons (default) - anyone can read mesh/node IDs
Encrypted
Encrypted beacons - only mesh members can read IDs
Trait Implementations§
Source§impl Clone for AdvertisingMode
impl Clone for AdvertisingMode
Source§fn clone(&self) -> AdvertisingMode
fn clone(&self) -> AdvertisingMode
Returns a duplicate 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 moreSource§impl Debug for AdvertisingMode
impl Debug for AdvertisingMode
Source§impl Default for AdvertisingMode
impl Default for AdvertisingMode
Source§fn default() -> AdvertisingMode
fn default() -> AdvertisingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for AdvertisingMode
impl PartialEq for AdvertisingMode
impl Copy for AdvertisingMode
impl Eq for AdvertisingMode
impl StructuralPartialEq for AdvertisingMode
Auto Trait Implementations§
impl Freeze for AdvertisingMode
impl RefUnwindSafe for AdvertisingMode
impl Send for AdvertisingMode
impl Sync for AdvertisingMode
impl Unpin for AdvertisingMode
impl UnsafeUnpin for AdvertisingMode
impl UnwindSafe for AdvertisingMode
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.