pub struct NativeCommandRunner;Trait Implementations§
Source§impl CommandRunner for NativeCommandRunner
impl CommandRunner for NativeCommandRunner
fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
binary: &'life1 Path,
args: &'life2 [String],
cancel: &'life3 CancellationToken,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn run_ollama<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
binary: &'life1 Path,
args: &'life2 [String],
context: &'life3 OllamaCommandContext,
cancel: &'life4 CancellationToken,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Auto Trait Implementations§
impl Freeze for NativeCommandRunner
impl RefUnwindSafe for NativeCommandRunner
impl Send for NativeCommandRunner
impl Sync for NativeCommandRunner
impl Unpin for NativeCommandRunner
impl UnsafeUnpin for NativeCommandRunner
impl UnwindSafe for NativeCommandRunner
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