pub struct ProcessEnvironment {
pub identity: ProcessIdentity,
pub paths: ProcessPaths,
pub accessibility: AccessibilityInputs,
pub locale: Option<String>,
pub desktop: Option<String>,
pub diagnostics: RunnerDiagnostics,
pub dev_session: Option<PathBuf>,
pub ui_graph_dir: Option<PathBuf>,
pub reveal: Option<String>,
pub windowless: bool,
pub no_window_idle: Option<Duration>,
}Fields§
§identity: ProcessIdentity§paths: ProcessPaths§accessibility: AccessibilityInputs§locale: Option<String>The user’s preferred locale, as a POSIX or BCP 47 tag.
desktop: Option<String>§diagnostics: RunnerDiagnostics§dev_session: Option<PathBuf>§ui_graph_dir: Option<PathBuf>§reveal: Option<String>§windowless: bool§no_window_idle: Option<Duration>How long a process with no window runs on with no call before it ends
(NO_WINDOW_IDLE_ENV): None for one that stays until it is ended.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessEnvironment
impl Clone for ProcessEnvironment
Source§fn clone(&self) -> ProcessEnvironment
fn clone(&self) -> ProcessEnvironment
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 ProcessEnvironment
impl Debug for ProcessEnvironment
Source§impl Default for ProcessEnvironment
impl Default for ProcessEnvironment
Source§fn default() -> ProcessEnvironment
fn default() -> ProcessEnvironment
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProcessEnvironment
impl PartialEq for ProcessEnvironment
impl StructuralPartialEq for ProcessEnvironment
Auto Trait Implementations§
impl Forget for ProcessEnvironment
impl Freeze for ProcessEnvironment
impl Move for ProcessEnvironment
impl RefUnwindSafe for ProcessEnvironment
impl Send for ProcessEnvironment
impl Sync for ProcessEnvironment
impl Unpin for ProcessEnvironment
impl UnsafeUnpin for ProcessEnvironment
impl UnwindSafe for ProcessEnvironment
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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