pub struct StartArgs {
pub prog: String,
pub args: Vec<String>,
pub restart_policy: RestartPolicy,
pub working_dir: PathBuf,
}
Expand description
arguments to State::start
Fields§
§prog: String
the program to run
args: Vec<String>
arguments to the program
restart_policy: RestartPolicy
the restart policy to start the command with
working_dir: PathBuf
Trait Implementations§
source§impl<'de> Deserialize<'de> for StartArgs
impl<'de> Deserialize<'de> for StartArgs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for StartArgs
impl PartialEq for StartArgs
impl StructuralPartialEq for StartArgs
Auto Trait Implementations§
impl RefUnwindSafe for StartArgs
impl Send for StartArgs
impl Sync for StartArgs
impl Unpin for StartArgs
impl UnwindSafe for StartArgs
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