pub enum Launcher {
Local {
root: PathBuf,
profile: Option<Profile>,
tmpdir: Option<PathBuf>,
},
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 Launcherwhere
RawVecInner: Send,
impl Sync for Launcherwhere
RawVecInner: Sync,
impl Unpin for Launcher
impl UnsafeUnpin for Launcherwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for Launcherwhere
RawVecInner: UnwindSafe,
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