pub struct NewCommand { /* private fields */ }
Expand description
The NEW
command.
Implementations§
Trait Implementations§
Source§impl Callable for NewCommand
impl Callable for NewCommand
Source§fn metadata(&self) -> &CallableMetadata
fn metadata(&self) -> &CallableMetadata
Returns the metadata for this function. Read more
Source§fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
machine: &'life2 mut Machine,
) -> Pin<Box<dyn Future<Output = CallResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
machine: &'life2 mut Machine,
) -> Pin<Box<dyn Future<Output = CallResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Executes the function. Read more
Auto Trait Implementations§
impl Freeze for NewCommand
impl !RefUnwindSafe for NewCommand
impl !Send for NewCommand
impl !Sync for NewCommand
impl Unpin for NewCommand
impl !UnwindSafe for NewCommand
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