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