pub fn run_server_client<GetClientRes>(
    flags: u32,
    server: impl DirectoryEntry,
    get_client: impl FnOnce(DirectoryProxy) -> GetClientRes,
) where
    GetClientRes: Future<Output = ()>,
{
    run_server_client_with_mode(flags, 0, server, get_client)
}
/// A helper to run a pseudo fs server and a client that needs to talk to this server.  This
/// function will create a channel and will pass the client side to `get_client`, while the server
/// side will be passed into an `open()` method on the server.  The server and the client will then
/// be executed on the same single threaded executor until they both stall.
///
/// `flags` is passed into the `open()` call.
///
/// See also [`run_server_client_with_mode()`] and
/// [`run_server_client_with_open_requests_channel`].
A helper to run a pseudo fs server and a client that needs to talk to this server.  This
function will create a channel and will pass the client side to `get_client`, while the server
side will be passed into an `open()` method on the server.  The server and the client will then
be executed on the same single threaded executor until they both stall.

`flags` is passed into the `open()` call.


A helper to run a pseudo fs server and a client that needs to talk to this server . This function will create a channel and will pass the client side to ` get_client ` while the server side will be passed into an ` open () ` method on the server . The server and the client will then be executed on the same single threaded executor until they both stall . ` flags ` is passed into the ` open () ` call .
pub fn run_server_client<GetClientRes>(
    flags: u32,
    server: impl DirectoryEntry,
    get_client: impl FnOnce(DirectoryProxy) -> GetClientRes,
) where
    GetClientRes: Future<Output = ()>,
{
    run_server_client_with_mode(flags, 0, server, get_client)
}
pub fn run_server_client < GetClientRes > ( flags : u32 , server : impl DirectoryEntry , get_client : impl FnOnce ( DirectoryProxy ) -> GetClientRes , ) where GetClientRes : Future < Output = ( ) > , { run_server_client_with_mode ( flags , 0 , server , get_client ) }
A helper to run a pseudo fs server and a client that needs to talk to this server.
A helper to run a pseudo fs server and a client that needs to talk to this server .
flags
u32
server
impl DirectoryEntry
get_client
impl FnOnce(DirectoryProxy) -> GetClientRes
flags
u32
server
impl DirectoryEntry
get_client
impl FnOnce(DirectoryProxy) -> GetClientRes