pub struct StdioLauncher {
pub command: PathBuf,
pub args: Vec<String>,
pub env: Vec<(OsString, OsString)>,
pub current_dir: Option<PathBuf>,
pub timeout: Duration,
pub mirror_stdio: bool,
}Expand description
Prepared stdio launcher with merged env and startup timeout.
Fields§
§command: PathBuf§args: Vec<String>§env: Vec<(OsString, OsString)>§current_dir: Option<PathBuf>§timeout: Duration§mirror_stdio: boolImplementations§
Trait Implementations§
Source§impl Clone for StdioLauncher
impl Clone for StdioLauncher
Source§fn clone(&self) -> StdioLauncher
fn clone(&self) -> StdioLauncher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StdioLauncher
impl Debug for StdioLauncher
Source§impl<'de> Deserialize<'de> for StdioLauncher
impl<'de> Deserialize<'de> for StdioLauncher
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 StdioLauncher
impl PartialEq for StdioLauncher
Source§impl Serialize for StdioLauncher
impl Serialize for StdioLauncher
impl Eq for StdioLauncher
impl StructuralPartialEq for StdioLauncher
Auto Trait Implementations§
impl Freeze for StdioLauncher
impl RefUnwindSafe for StdioLauncher
impl Send for StdioLauncher
impl Sync for StdioLauncher
impl Unpin for StdioLauncher
impl UnsafeUnpin for StdioLauncher
impl UnwindSafe for StdioLauncher
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.