pub enum Launcher {
Local {
root: PathBuf,
profile: Option<Profile>,
},
Container {
container_id: String,
workdir: PathBuf,
},
}Expand description
How to start a session’s shell: a login shell, as bash -lc gives today.
Variants§
Local
bash -l on this machine, starting in root, optionally sandboxed under a profile.
Container
bash -l inside a running container, starting in workdir.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Launcher
impl Freeze for Launcher
impl Move for Launcher
impl RefUnwindSafe for Launcher
impl Send for Launcher
impl Sync for Launcher
impl Unpin for Launcher
impl UnsafeUnpin for Launcher
impl UnwindSafe for Launcher
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