pub fn run_server_client<GetClientRes>(
flags: OpenFlags,
server: Arc<dyn DirectoryEntry>,
get_client: impl FnOnce(FileProxy) -> GetClientRes,
)
Expand description
A thin wrapper around run::run_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.