Struct endbasic_std::exec::ExitCommand
source · [−]pub struct ExitCommand { /* private fields */ }Expand description
The EXIT command.
Implementations
sourceimpl ExitCommand
impl ExitCommand
Trait Implementations
sourceimpl Command for ExitCommand
impl Command for ExitCommand
sourcefn metadata(&self) -> &CallableMetadata
fn metadata(&self) -> &CallableMetadata
Returns the metadata for this command. Read more
sourcefn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 [(Option<Expr>, ArgSep)],
machine: &'life2 mut Machine
) -> Pin<Box<dyn Future<Output = CommandResult> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 [(Option<Expr>, ArgSep)],
machine: &'life2 mut Machine
) -> Pin<Box<dyn Future<Output = CommandResult> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Executes the command. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExitCommand
impl Send for ExitCommand
impl Sync for ExitCommand
impl Unpin for ExitCommand
impl UnwindSafe for ExitCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more