pub struct ProcessHost { /* private fields */ }Expand description
The real process host.
Implementations§
Source§impl ProcessHost
impl ProcessHost
Trait Implementations§
Source§impl Debug for ProcessHost
impl Debug for ProcessHost
Source§impl Default for ProcessHost
impl Default for ProcessHost
Source§impl Host for ProcessHost
impl Host for ProcessHost
Source§fn file_mode(&self, path: &Path) -> Result<Option<u32>>
fn file_mode(&self, path: &Path) -> Result<Option<u32>>
Returns the Unix permission bits of a file, when the platform has them. Read more
Source§fn write_new_directory(
&mut self,
path: &Path,
files: &[(String, Vec<u8>)],
) -> Result<()>
fn write_new_directory( &mut self, path: &Path, files: &[(String, Vec<u8>)], ) -> Result<()>
Atomically writes a new diagnostics-bundle directory. Read more
Source§fn write_stderr(&mut self, bytes: &[u8])
fn write_stderr(&mut self, bytes: &[u8])
Writes a redacted diagnostic to standard error. Read more
Source§fn is_stdin_interactive(&self) -> bool
fn is_stdin_interactive(&self) -> bool
Returns whether standard input is an interactive terminal.
Source§fn is_stdout_terminal(&self) -> bool
fn is_stdout_terminal(&self) -> bool
Returns whether standard output is a terminal that can carry styling.
Source§fn read_confirmation(&mut self) -> Result<Option<String>>
fn read_confirmation(&mut self) -> Result<Option<String>>
Reads one confirmation response from standard input. Read more
Source§fn new_operation_id(&mut self) -> String
fn new_operation_id(&mut self) -> String
Returns a fresh operation identifier for an interactive mutation. Read more
Auto Trait Implementations§
impl Freeze for ProcessHost
impl RefUnwindSafe for ProcessHost
impl Send for ProcessHost
impl Sync for ProcessHost
impl Unpin for ProcessHost
impl UnsafeUnpin for ProcessHost
impl UnwindSafe for ProcessHost
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> 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