pub struct FalseCommand;Expand description
The false command: always fails (exit code 1).
Trait Implementations§
Source§impl VirtualCommand for FalseCommand
impl VirtualCommand for FalseCommand
fn name(&self) -> &str
fn meta(&self) -> Option<&'static CommandMeta>
fn execute(&self, _args: &[String], _ctx: &CommandContext<'_>) -> CommandResult
Auto Trait Implementations§
impl Freeze for FalseCommand
impl RefUnwindSafe for FalseCommand
impl Send for FalseCommand
impl Sync for FalseCommand
impl Unpin for FalseCommand
impl UnsafeUnpin for FalseCommand
impl UnwindSafe for FalseCommand
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