pub struct MockExecutor;Trait Implementations§
Source§impl Debug for MockExecutor
impl Debug for MockExecutor
Source§impl Default for MockExecutor
impl Default for MockExecutor
Source§fn default() -> MockExecutor
fn default() -> MockExecutor
Returns the “default value” for a type. Read more
Source§impl Executor for MockExecutor
impl Executor for MockExecutor
fn capabilities(&self) -> ExecutorCapabilities
fn doctor<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DoctorReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 self,
spec: JobSpec,
cancel: Option<CancellationToken>,
) -> Pin<Box<dyn Future<Output = Result<JobResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cleanup<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for MockExecutor
impl RefUnwindSafe for MockExecutor
impl Send for MockExecutor
impl Sync for MockExecutor
impl Unpin for MockExecutor
impl UnsafeUnpin for MockExecutor
impl UnwindSafe for MockExecutor
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