Trait nu_engine::WholeStreamCommand[][src]

pub trait WholeStreamCommand: Send + Sync {
    fn name(&self) -> &str;
fn usage(&self) -> &str;
#[must_use] fn run<'life0, 'async_trait>(
        &'life0 self,
        args: CommandArgs
    ) -> Pin<Box<dyn Future<Output = Result<OutputStream, ShellError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn signature(&self) -> Signature { ... }
fn is_binary(&self) -> bool { ... }
fn is_internal(&self) -> bool { ... }
fn examples(&self) -> Vec<Example> { ... } }

Required methods

fn name(&self) -> &str[src]

fn usage(&self) -> &str[src]

#[must_use]fn run<'life0, 'async_trait>(
    &'life0 self,
    args: CommandArgs
) -> Pin<Box<dyn Future<Output = Result<OutputStream, ShellError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Provided methods

fn signature(&self) -> Signature[src]

fn is_binary(&self) -> bool[src]

fn is_internal(&self) -> bool[src]

fn examples(&self) -> Vec<Example>[src]

Loading content...

Implementations on Foreign Types

impl WholeStreamCommand for Block[src]

Loading content...

Implementors

Loading content...