pub struct AsyncClientTestParams<'test_refs> { /* private fields */ }
Expand description
A helper that holds all the parameters necessary to run an async client-only test.
Implementations§
Source§impl<'test_refs> AsyncClientTestParams<'test_refs>
impl<'test_refs> AsyncClientTestParams<'test_refs>
pub fn exec(self, exec: TestExecutor) -> Self
pub fn coordinator( self, get_coordinator: impl FnOnce(TestController<'_>) + 'test_refs, ) -> Self
Sourcepub fn run(self)
pub fn run(self)
Runs the test based on the parameters specified in the test_server_client
and other
method calls.
Auto Trait Implementations§
impl<'test_refs> Freeze for AsyncClientTestParams<'test_refs>
impl<'test_refs> !RefUnwindSafe for AsyncClientTestParams<'test_refs>
impl<'test_refs> !Send for AsyncClientTestParams<'test_refs>
impl<'test_refs> !Sync for AsyncClientTestParams<'test_refs>
impl<'test_refs> Unpin for AsyncClientTestParams<'test_refs>
impl<'test_refs> !UnwindSafe for AsyncClientTestParams<'test_refs>
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