pub enum RigSelection {
Named(String),
Auto,
}Expand description
What the caller wants resolved: an explicit name (the --rig flag,
which the bin already folded IGNITION_RIG into) or the auto chain
([rig].default → cwd scan → convention scan).
Variants§
Named(String)
--rig NAME / IGNITION_RIG — MUST exist in [rigs.*] or the
error lists the knowns (the ProfileNotFound shape precedent).
Auto
No preference — [rig].default, then the cwd/convention scan.
Trait Implementations§
Source§impl Clone for RigSelection
impl Clone for RigSelection
Source§fn clone(&self) -> RigSelection
fn clone(&self) -> RigSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RigSelection
impl Debug for RigSelection
Source§impl PartialEq for RigSelection
impl PartialEq for RigSelection
impl StructuralPartialEq for RigSelection
Auto Trait Implementations§
impl Freeze for RigSelection
impl RefUnwindSafe for RigSelection
impl Send for RigSelection
impl Sync for RigSelection
impl Unpin for RigSelection
impl UnsafeUnpin for RigSelection
impl UnwindSafe for RigSelection
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