pub struct AsyncMemoryExecutor { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl AsyncExecutor for AsyncMemoryExecutor
impl AsyncExecutor for AsyncMemoryExecutor
fn launch<'life0, 'life1, 'async_trait, T, A>( &'life0 mut self, task: T, args: A, schedule: ExecutionSchedule, id: Option<&'life1 str>, ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
fn join_task<'life0, 'life1, 'async_trait>(
&'life0 mut self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn join<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
Source§impl Default for AsyncMemoryExecutor
impl Default for AsyncMemoryExecutor
Source§fn default() -> AsyncMemoryExecutor
fn default() -> AsyncMemoryExecutor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AsyncMemoryExecutor
impl RefUnwindSafe for AsyncMemoryExecutor
impl Send for AsyncMemoryExecutor
impl Sync for AsyncMemoryExecutor
impl Unpin for AsyncMemoryExecutor
impl UnwindSafe for AsyncMemoryExecutor
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