pub struct EchoCommand;Expand description
The echo command: prints arguments to stdout.
Trait Implementations§
Source§impl VirtualCommand for EchoCommand
impl VirtualCommand for EchoCommand
fn name(&self) -> &str
fn meta(&self) -> Option<&'static CommandMeta>
fn execute(&self, args: &[String], _ctx: &CommandContext<'_>) -> CommandResult
Auto Trait Implementations§
impl Freeze for EchoCommand
impl RefUnwindSafe for EchoCommand
impl Send for EchoCommand
impl Sync for EchoCommand
impl Unpin for EchoCommand
impl UnsafeUnpin for EchoCommand
impl UnwindSafe for EchoCommand
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