[][src]Trait nu_cli::WholeStreamCommand

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

Required methods

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

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

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

Loading content...

Provided methods

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

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

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

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

Loading content...

Implementors

Loading content...