pub enum AdvertiserState {
Idle,
Advertising,
Paused,
}Expand description
Advertiser state
Variants§
Idle
Not advertising
Advertising
Actively advertising
Paused
Temporarily paused (e.g., during connection)
Trait Implementations§
Source§impl Clone for AdvertiserState
impl Clone for AdvertiserState
Source§fn clone(&self) -> AdvertiserState
fn clone(&self) -> AdvertiserState
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 AdvertiserState
impl Debug for AdvertiserState
Source§impl PartialEq for AdvertiserState
impl PartialEq for AdvertiserState
impl Copy for AdvertiserState
impl Eq for AdvertiserState
impl StructuralPartialEq for AdvertiserState
Auto Trait Implementations§
impl Freeze for AdvertiserState
impl RefUnwindSafe for AdvertiserState
impl Send for AdvertiserState
impl Sync for AdvertiserState
impl Unpin for AdvertiserState
impl UnwindSafe for AdvertiserState
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