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