pub struct RemoteExecutor { /* private fields */ }Expand description
Executes commands against a running fslite-server over HTTP.
Implementations§
Trait Implementations§
Source§impl Executor for RemoteExecutor
impl Executor for RemoteExecutor
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 RequestContext,
command: Command,
) -> Pin<Box<dyn Future<Output = FsResult<CommandOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 RequestContext,
command: Command,
) -> Pin<Box<dyn Future<Output = FsResult<CommandOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Runs
command under ctx and returns its typed result.Auto Trait Implementations§
impl !RefUnwindSafe for RemoteExecutor
impl !UnwindSafe for RemoteExecutor
impl Freeze for RemoteExecutor
impl Send for RemoteExecutor
impl Sync for RemoteExecutor
impl Unpin for RemoteExecutor
impl UnsafeUnpin for RemoteExecutor
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