pub struct SchedulerHandle { /* private fields */ }Implementations§
Source§impl SchedulerHandle
impl SchedulerHandle
pub fn cancel(&self)
pub fn shutdown(&self)
pub async fn pause(&self) -> Result<(), SchedulerError>
pub async fn resume(&self) -> Result<(), SchedulerError>
pub async fn trigger_now(&self) -> Result<(), SchedulerError>
Trait Implementations§
Source§impl Clone for SchedulerHandle
impl Clone for SchedulerHandle
Source§fn clone(&self) -> SchedulerHandle
fn clone(&self) -> SchedulerHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SchedulerHandle
impl !RefUnwindSafe for SchedulerHandle
impl Send for SchedulerHandle
impl Sync for SchedulerHandle
impl Unpin for SchedulerHandle
impl UnsafeUnpin for SchedulerHandle
impl !UnwindSafe for SchedulerHandle
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