pub struct Quit {}
Expand description
Ready-to-use command to quit the cmd loop
Returning CommandResult::Break instructs the Cmd.run() loop to break
Trait Implementations§
Source§impl<W: Write> CommandHandler<W> for Quit
impl<W: Write> CommandHandler<W> for Quit
Auto Trait Implementations§
impl Freeze for Quit
impl RefUnwindSafe for Quit
impl Send for Quit
impl Sync for Quit
impl Unpin for Quit
impl UnwindSafe for Quit
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