pub enum Workflow<'a> {
Sync {
user: User<'a>,
host: Host<'a>,
remote: Remote<'a>,
},
Ls {
printer: LsPrinter,
user: User<'a>,
fetch_remote: Option<Remote<'a>>,
host_filter: Filter<Host<'a>>,
branch_filter: Filter<Branch<'a>>,
},
Purge {
user: User<'a>,
remote: Remote<'a>,
host_filter: Filter<Host<'a>>,
},
Completions(Shell),
}
Expand description
A boundary type that separates the CLI interface from high level nomad workflows.
Variants§
Implementations§
Trait Implementations§
impl<'a> Eq for Workflow<'a>
impl<'a> StructuralPartialEq for Workflow<'a>
Auto Trait Implementations§
impl<'a> Freeze for Workflow<'a>
impl<'a> RefUnwindSafe for Workflow<'a>
impl<'a> Send for Workflow<'a>
impl<'a> Sync for Workflow<'a>
impl<'a> Unpin for Workflow<'a>
impl<'a> UnwindSafe for Workflow<'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