pub struct SystemHost { /* private fields */ }Expand description
The real machine.
Implementations§
Trait Implementations§
Source§impl Clone for SystemHost
impl Clone for SystemHost
Source§impl Debug for SystemHost
impl Debug for SystemHost
Source§impl Default for SystemHost
impl Default for SystemHost
Source§impl ProbeHost for SystemHost
impl ProbeHost for SystemHost
Source§fn which(&self, tool: &str) -> Option<PathBuf>
fn which(&self, tool: &str) -> Option<PathBuf>
Resolve a tool name to an executable path, if installed.
Source§fn run(&self, tool: &str, args: &[&str]) -> Option<String>
fn run(&self, tool: &str, args: &[&str]) -> Option<String>
Run a tool (resolved with
Self::which) and return stdout when it
exits 0 within the timeout.Auto Trait Implementations§
impl Freeze for SystemHost
impl RefUnwindSafe for SystemHost
impl Send for SystemHost
impl Sync for SystemHost
impl Unpin for SystemHost
impl UnsafeUnpin for SystemHost
impl UnwindSafe for SystemHost
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