Function create_channel_with_dispatchers

Source
pub fn create_channel_with_dispatchers<P, D>(
    client_dispatcher: D,
    server_dispatcher: D,
) -> (ClientEnd<P, DriverChannel<D>>, ServerEnd<P, DriverChannel<D>>)
Expand description

Creates a pair of [fidl_next::ClientEnd] and [fidl_next::ServerEnd] backed by a new pair of DriverChannels using dispatchers of type D.