pub enum SchedulerEvent {
StartScan,
StopScan,
StartAdvertising,
StopAdvertising,
SyncNow,
ProfileChanged,
EnterSleep,
}Expand description
Event from the radio scheduler
Variants§
StartScan
Start scanning
StopScan
Stop scanning
StartAdvertising
Start advertising
StopAdvertising
Stop advertising
SyncNow
Time to sync with a peer
ProfileChanged
Profile changed
EnterSleep
Enter sleep mode
Trait Implementations§
Source§impl Clone for SchedulerEvent
impl Clone for SchedulerEvent
Source§fn clone(&self) -> SchedulerEvent
fn clone(&self) -> SchedulerEvent
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 SchedulerEvent
impl Debug for SchedulerEvent
Source§impl PartialEq for SchedulerEvent
impl PartialEq for SchedulerEvent
impl Copy for SchedulerEvent
impl Eq for SchedulerEvent
impl StructuralPartialEq for SchedulerEvent
Auto Trait Implementations§
impl Freeze for SchedulerEvent
impl RefUnwindSafe for SchedulerEvent
impl Send for SchedulerEvent
impl Sync for SchedulerEvent
impl Unpin for SchedulerEvent
impl UnsafeUnpin for SchedulerEvent
impl UnwindSafe for SchedulerEvent
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.