pub struct ProcConfig {
pub name: String,
pub cmd: CmdConfig,
pub cwd: Option<OsString>,
pub env: Option<IndexMap<String, Option<String>>>,
pub autostart: bool,
pub autorestart: bool,
pub stop: StopSignal,
pub deps: Vec<String>,
pub mouse_scroll_speed: usize,
pub scrollback_len: usize,
pub log: Option<LogConfig>,
}Fields§
§name: String§cmd: CmdConfig§cwd: Option<OsString>§env: Option<IndexMap<String, Option<String>>>§autostart: bool§autorestart: bool§stop: StopSignal§deps: Vec<String>§mouse_scroll_speed: usize§scrollback_len: usize§log: Option<LogConfig>Trait Implementations§
Source§impl Clone for ProcConfig
impl Clone for ProcConfig
Source§fn clone(&self) -> ProcConfig
fn clone(&self) -> ProcConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcConfig
impl RefUnwindSafe for ProcConfig
impl Send for ProcConfig
impl Sync for ProcConfig
impl Unpin for ProcConfig
impl UnsafeUnpin for ProcConfig
impl UnwindSafe for ProcConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more