pub fn test_server_client<'test_refs, GetClientRes>(
flags: OpenFlags,
server: Arc<dyn DirectoryEntry>,
get_client: impl FnOnce(DirectoryProxy) -> GetClientRes + 'test_refs,
) -> AsyncServerClientTestParams<'test_refs, DirectoryMarker>
Expand description
A thin wrapper around run::test_server_client()
that sets the Marker
to be
[DirectoryMarker
], and providing explicit type for the get_client
closure argument. This
makes it possible for the caller not to provide explicit types.