pub enum Route<'a> {
Broker(&'a [String]),
Agent(&'a [String]),
Help,
Version,
Usage,
}Expand description
What one invocation of hatchling runs.
Variants§
Broker(&'a [String])
The broker’s command line, with these arguments.
Agent(&'a [String])
The agent’s command line, with these arguments.
Help
--help: usage on stdout, exit 0.
Version
--version: the version on stdout, exit 0.
Usage
No subcommand, or an unknown one: usage on stderr, exit 64.
Trait Implementations§
impl<'a> Eq for Route<'a>
impl<'a> StructuralPartialEq for Route<'a>
Auto Trait Implementations§
impl<'a> Freeze for Route<'a>
impl<'a> RefUnwindSafe for Route<'a>
impl<'a> Send for Route<'a>
impl<'a> Sync for Route<'a>
impl<'a> Unpin for Route<'a>
impl<'a> UnsafeUnpin for Route<'a>
impl<'a> UnwindSafe for Route<'a>
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