pub struct TokioCommandExecute;
Expand description
Tokio-based implementation of the CommandExecute
trait.
This struct provides async command execution capabilities using Tokio’s process spawning operations.
Trait Implementations§
Source§impl Clone for TokioCommandExecute
impl Clone for TokioCommandExecute
Source§fn clone(&self) -> TokioCommandExecute
fn clone(&self) -> TokioCommandExecute
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 CommandExecute for TokioCommandExecute
impl CommandExecute for TokioCommandExecute
Source§fn command_execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
program: &'life1 str,
args: &'life2 [&'life3 str],
) -> Pin<Box<dyn Future<Output = Result<CommandOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn command_execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
program: &'life1 str,
args: &'life2 [&'life3 str],
) -> Pin<Box<dyn Future<Output = Result<CommandOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Execute a command with the given program and arguments.
Source§impl Debug for TokioCommandExecute
impl Debug for TokioCommandExecute
Source§impl Default for TokioCommandExecute
impl Default for TokioCommandExecute
Source§fn default() -> TokioCommandExecute
fn default() -> TokioCommandExecute
Returns the “default value” for a type. Read more
impl Copy for TokioCommandExecute
Auto Trait Implementations§
impl Freeze for TokioCommandExecute
impl RefUnwindSafe for TokioCommandExecute
impl Send for TokioCommandExecute
impl Sync for TokioCommandExecute
impl Unpin for TokioCommandExecute
impl UnwindSafe for TokioCommandExecute
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