pub struct LocalCommandExecutor { /* private fields */ }Expand description
Local command executor using native OS processes
Implementations§
Source§impl LocalCommandExecutor
impl LocalCommandExecutor
pub fn new() -> Self
pub fn with_event_buffer_size(self, size: usize) -> Self
Trait Implementations§
Source§impl CommandExecutor for LocalCommandExecutor
impl CommandExecutor for LocalCommandExecutor
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
request: CommandRequest,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = CommandEvent> + Send>>, UbiquityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
request: CommandRequest,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = CommandEvent> + Send>>, UbiquityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute a command and return a stream of events
Auto Trait Implementations§
impl !RefUnwindSafe for LocalCommandExecutor
impl !UnwindSafe for LocalCommandExecutor
impl Freeze for LocalCommandExecutor
impl Send for LocalCommandExecutor
impl Sync for LocalCommandExecutor
impl Unpin for LocalCommandExecutor
impl UnsafeUnpin for LocalCommandExecutor
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