pub struct Options {Show 15 fields
pub cwd: Option<PathBuf>,
pub env: HashMap<String, String>,
pub extend_env: bool,
pub input: Option<Vec<u8>>,
pub reject: bool,
pub strip_final_newline: bool,
pub all: bool,
pub buffer: bool,
pub max_buffer: usize,
pub timeout: Option<Duration>,
pub cancel_signal: Option<CancelSignal>,
pub kill_signal: String,
pub prefer_local: PreferLocal,
pub node_exec_path: OsString,
pub node_options: Vec<OsString>,
}Expand description
Portable counterparts of Execa process options.
Fields§
§cwd: Option<PathBuf>§env: HashMap<String, String>§extend_env: bool§input: Option<Vec<u8>>§reject: bool§strip_final_newline: bool§all: bool§buffer: bool§max_buffer: usize§timeout: Option<Duration>§cancel_signal: Option<CancelSignal>§kill_signal: String§prefer_local: PreferLocal§node_exec_path: OsString§node_options: Vec<OsString>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Options
impl !UnwindSafe for Options
impl Freeze for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.