pub struct DryRunCommandExecutor { /* private fields */ }Implementations§
Source§impl DryRunCommandExecutor
impl DryRunCommandExecutor
pub fn new() -> Self
pub fn logged_invocations(&self) -> Vec<CommandInvocation>
Trait Implementations§
Source§impl Clone for DryRunCommandExecutor
impl Clone for DryRunCommandExecutor
Source§fn clone(&self) -> DryRunCommandExecutor
fn clone(&self) -> DryRunCommandExecutor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandExecutor for DryRunCommandExecutor
Available on crate feature dry-run only.
impl CommandExecutor for DryRunCommandExecutor
Available on crate feature
dry-run only.fn execute(&self, invocation: &CommandInvocation) -> Result<CommandOutput>
Source§impl Default for DryRunCommandExecutor
impl Default for DryRunCommandExecutor
Source§fn default() -> DryRunCommandExecutor
fn default() -> DryRunCommandExecutor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DryRunCommandExecutor
impl RefUnwindSafe for DryRunCommandExecutor
impl Send for DryRunCommandExecutor
impl Sync for DryRunCommandExecutor
impl Unpin for DryRunCommandExecutor
impl UnwindSafe for DryRunCommandExecutor
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