pub struct AsyncServerClientTestParams<'test_refs, Marker>where
Marker: ProtocolMarker,{ /* private fields */ }
Expand description
A helper that holds all the parameters necessary to run an async test with a server and a client.
Implementations§
Source§impl<'test_refs, Marker> AsyncServerClientTestParams<'test_refs, Marker>where
Marker: ProtocolMarker,
impl<'test_refs, Marker> AsyncServerClientTestParams<'test_refs, Marker>where
Marker: ProtocolMarker,
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, Marker> Freeze for AsyncServerClientTestParams<'test_refs, Marker>
impl<'test_refs, Marker> !RefUnwindSafe for AsyncServerClientTestParams<'test_refs, Marker>
impl<'test_refs, Marker> !Send for AsyncServerClientTestParams<'test_refs, Marker>
impl<'test_refs, Marker> !Sync for AsyncServerClientTestParams<'test_refs, Marker>
impl<'test_refs, Marker> Unpin for AsyncServerClientTestParams<'test_refs, Marker>
impl<'test_refs, Marker> !UnwindSafe for AsyncServerClientTestParams<'test_refs, Marker>
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