pub enum Shell {
Absent,
Missing {
asked: Interpreter,
},
Found {
program: PathBuf,
interpreter: Interpreter,
},
}Expand description
The shell arm as this run’s machine and configuration leave it.
Variants§
Absent
No layer of this run’s configuration offers the shell arm.
Missing
A layer offers it under asked, and this machine has no usable
program for that interpreter.
Fields
§
asked: InterpreterFound
The program a shell line is handed to, and which interpreter it is.
Trait Implementations§
impl Eq for Shell
impl StructuralPartialEq for Shell
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnsafeUnpin for Shell
impl UnwindSafe for Shell
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