pub struct CommandTestRunner<C> { /* private fields */ }Expand description
Test runner backed by a CommandExecutor.
Implementations§
Source§impl<C> CommandTestRunner<C>
impl<C> CommandTestRunner<C>
Trait Implementations§
Source§impl<C: Clone> Clone for CommandTestRunner<C>
impl<C: Clone> Clone for CommandTestRunner<C>
Source§impl<C: Debug> Debug for CommandTestRunner<C>
impl<C: Debug> Debug for CommandTestRunner<C>
Source§impl<C> TestRunner for CommandTestRunner<C>where
C: CommandExecutor,
impl<C> TestRunner for CommandTestRunner<C>where
C: CommandExecutor,
Source§fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: TestRunRequest,
policy: &'life1 ExecutionPolicy,
context: &'life2 RunContext,
) -> Pin<Box<dyn Future<Output = Result<VerificationResult, TestRunError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: TestRunRequest,
policy: &'life1 ExecutionPolicy,
context: &'life2 RunContext,
) -> Pin<Box<dyn Future<Output = Result<VerificationResult, TestRunError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Runs a test command through a command executor policy boundary.
Auto Trait Implementations§
impl<C> Freeze for CommandTestRunner<C>where
C: Freeze,
impl<C> RefUnwindSafe for CommandTestRunner<C>where
C: RefUnwindSafe,
impl<C> Send for CommandTestRunner<C>where
C: Send,
impl<C> Sync for CommandTestRunner<C>where
C: Sync,
impl<C> Unpin for CommandTestRunner<C>where
C: Unpin,
impl<C> UnsafeUnpin for CommandTestRunner<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for CommandTestRunner<C>where
C: UnwindSafe,
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