Function create_channel_with_dispatcher

Source
pub fn create_channel_with_dispatcher<P, D: Clone>(
    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, where D implements Clone