pub struct LocalBackend;Expand description
Local runtime backend for executing the standard loop in-process.
Implementations§
Source§impl LocalBackend
impl LocalBackend
Source§impl LocalBackend
impl LocalBackend
pub async fn execute_delegate( &self, request: BackendDelegateRunRequest<'_>, ) -> Result<BackendRunResult, ExecutionBackendError>
Trait Implementations§
Source§impl Default for LocalBackend
impl Default for LocalBackend
Source§impl ExecutionBackend for LocalBackend
impl ExecutionBackend for LocalBackend
fn capabilities(&self) -> BackendCapabilities
fn execute_delegate<'life0, 'life1, 'async_trait>(
&'life0 self,
request: BackendDelegateRunRequest<'life1>,
) -> Pin<Box<dyn Future<Output = Result<BackendRunResult, ExecutionBackendError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute_root<'life0, 'life1, 'async_trait>(
&'life0 self,
request: BackendRootRunRequest<'life1>,
) -> Pin<Box<dyn Future<Output = Result<BackendRunResult, ExecutionBackendError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn abort<'life0, 'life1, 'async_trait>(
&'life0 self,
_request: BackendAbortRequest<'life1>,
) -> Pin<Box<dyn Future<Output = Result<(), ExecutionBackendError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for LocalBackend
impl RefUnwindSafe for LocalBackend
impl Send for LocalBackend
impl Sync for LocalBackend
impl Unpin for LocalBackend
impl UnsafeUnpin for LocalBackend
impl UnwindSafe for LocalBackend
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