pub struct ExecStreamedOpts {
pub working_dir: Option<String>,
pub use_scrolling_area: bool,
pub process_descriptive_name: Option<String>,
pub env: Option<Vec<String>>,
pub timeout: Option<Duration>,
}Expand description
Ported from ExecStreamedOpts.
timeout has no Go counterpart on the struct itself – see
Options::timeout’s doc comment in exec::mod for why this port
threads a deadline explicitly instead of via an ambient context.
Fields§
§working_dir: Option<String>§use_scrolling_area: bool§process_descriptive_name: Option<String>§env: Option<Vec<String>>§timeout: Option<Duration>Trait Implementations§
Source§impl Clone for ExecStreamedOpts
impl Clone for ExecStreamedOpts
Source§fn clone(&self) -> ExecStreamedOpts
fn clone(&self) -> ExecStreamedOpts
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 moreSource§impl Debug for ExecStreamedOpts
impl Debug for ExecStreamedOpts
Source§impl Default for ExecStreamedOpts
impl Default for ExecStreamedOpts
Source§fn default() -> ExecStreamedOpts
fn default() -> ExecStreamedOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecStreamedOpts
impl RefUnwindSafe for ExecStreamedOpts
impl Send for ExecStreamedOpts
impl Sync for ExecStreamedOpts
impl Unpin for ExecStreamedOpts
impl UnsafeUnpin for ExecStreamedOpts
impl UnwindSafe for ExecStreamedOpts
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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