pub struct SleepCommand { /* private fields */ }Expand description
The SLEEP command.
Implementations§
Trait Implementations§
Source§impl Callable for SleepCommand
impl Callable for SleepCommand
Source§fn async_exec<'life0, 'life1, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
) -> Pin<Box<dyn Future<Output = CallResult<()>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn async_exec<'life0, 'life1, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
) -> Pin<Box<dyn Future<Output = CallResult<()>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Executes the callable if it is asynchronous.
Auto Trait Implementations§
impl Freeze for SleepCommand
impl !RefUnwindSafe for SleepCommand
impl !Send for SleepCommand
impl !Sync for SleepCommand
impl Unpin for SleepCommand
impl UnsafeUnpin for SleepCommand
impl !UnwindSafe for SleepCommand
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