Trait nu_engine::WholeStreamCommand
source · [−]pub trait WholeStreamCommand: Send + Sync {
Show 13 methods
fn name(&self) -> &str;
fn usage(&self) -> &str;
fn signature(&self) -> Signature { ... }
fn extra_usage(&self) -> &str { ... }
fn run_with_actions(
&self,
_args: CommandArgs
) -> Result<ActionStream, ShellError> { ... }
fn run(&self, args: CommandArgs) -> Result<InputStream, ShellError> { ... }
fn is_binary(&self) -> bool { ... }
fn is_private(&self) -> bool { ... }
fn examples(&self) -> Vec<Example>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator, { ... }
fn is_builtin(&self) -> bool { ... }
fn is_sub(&self) -> bool { ... }
fn is_plugin(&self) -> bool { ... }
fn is_custom(&self) -> bool { ... }
}Required methods
Provided methods
fn extra_usage(&self) -> &str
fn run_with_actions(
&self,
_args: CommandArgs
) -> Result<ActionStream, ShellError>
fn run(&self, args: CommandArgs) -> Result<InputStream, ShellError>
fn is_private(&self) -> bool
fn examples(&self) -> Vec<Example>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn is_builtin(&self) -> bool
Implementations on Foreign Types
sourceimpl WholeStreamCommand for Arc<Block>
impl WholeStreamCommand for Arc<Block>
fn name(&self) -> &str
fn signature(&self) -> Signature
fn usage(&self) -> &str
fn extra_usage(&self) -> &str
fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError>
fn is_binary(&self) -> bool
fn is_private(&self) -> bool
fn examples(&self) -> Vec<Example>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,