pub struct AbstractRunner { /* private fields */ }Implementations§
Source§impl AbstractRunner
impl AbstractRunner
pub fn new(kind: RunnerKind) -> Self
pub fn with_binary(kind: RunnerKind, binary: impl Into<String>) -> Self
pub fn inner(&self) -> &ProcessRunner
pub fn into_inner(self) -> ProcessRunner
Trait Implementations§
Source§impl Clone for AbstractRunner
impl Clone for AbstractRunner
Source§fn clone(&self) -> AbstractRunner
fn clone(&self) -> AbstractRunner
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 AbstractRunner
impl Debug for AbstractRunner
Source§impl PartialEq for AbstractRunner
impl PartialEq for AbstractRunner
Source§fn eq(&self, other: &AbstractRunner) -> bool
fn eq(&self, other: &AbstractRunner) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Runner for AbstractRunner
impl Runner for AbstractRunner
fn kind(&self) -> RunnerKind
fn binary(&self) -> &str
fn prefix_args(&self) -> &[String]
fn describe( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> RunnerCommand
fn raw_full_command(&self, command: impl AsRef<str>) -> String
fn execute( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> Result<RunnerExecution>
fn run( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> Result<Option<String>>
impl Eq for AbstractRunner
impl StructuralPartialEq for AbstractRunner
Auto Trait Implementations§
impl Freeze for AbstractRunner
impl RefUnwindSafe for AbstractRunner
impl Send for AbstractRunner
impl Sync for AbstractRunner
impl Unpin for AbstractRunner
impl UnsafeUnpin for AbstractRunner
impl UnwindSafe for AbstractRunner
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.