pub enum HeadlessAction {
Start,
Stop,
Status,
Missing,
Unknown(String),
}Expand description
The /headless subcommand.
All variants are Neutral (see Command::Headless docs). The
Missing / Unknown variants let the dispatcher emit usage
hints with the exact token the operator typed — identical
honesty contract to ConfigAction.
Variants§
Trait Implementations§
Source§impl Clone for HeadlessAction
impl Clone for HeadlessAction
Source§fn clone(&self) -> HeadlessAction
fn clone(&self) -> HeadlessAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeadlessAction
impl Debug for HeadlessAction
Source§impl PartialEq for HeadlessAction
impl PartialEq for HeadlessAction
impl Eq for HeadlessAction
impl StructuralPartialEq for HeadlessAction
Auto Trait Implementations§
impl Freeze for HeadlessAction
impl RefUnwindSafe for HeadlessAction
impl Send for HeadlessAction
impl Sync for HeadlessAction
impl Unpin for HeadlessAction
impl UnsafeUnpin for HeadlessAction
impl UnwindSafe for HeadlessAction
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