pub enum Run {
Hold,
Command(Vec<String>),
Follow(Vec<String>),
Console,
}Expand description
What a held service runs or shows.
Variants§
Hold
Nothing: held until something else ends the run.
Command(Vec<String>)
Its command, run with the sandbox’s exec defaults. The run is over
when every command has exited.
Follow(Vec<String>)
Follow a log with this argv, as root: a supervised app’s journal. It never ends the run by exiting.
Console
Follow the console log: an OCI app’s output.
Trait Implementations§
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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