pub fn create_request_stream<T: ServiceMarker>() -> Result<(ClientEnd<T>, T::RequestStream), Error>
{
    let (client, server) = create_endpoints()?;
    Ok((client, server.into_stream()?))
}
/// Create a request stream and a client endpoint connected to it by a channel.
///
/// Useful for sending channel handles to calls that take arguments
/// of type `SomeInterface`
Create a request stream and a client endpoint connected to it by a channel.
Useful for sending channel handles to calls that take arguments
of type `SomeInterface`
Create a request stream and a client endpoint connected to it by a channel . Useful for sending channel handles to calls that take arguments of type ` SomeInterface `
pub fn create_request_stream<T: ServiceMarker>() -> Result<(ClientEnd<T>, T::RequestStream), Error>
{
    let (client, server) = create_endpoints()?;
    Ok((client, server.into_stream()?))
}
pub fn create_request_stream < T : ServiceMarker > ( ) -> Result < ( ClientEnd < T > , T :: RequestStream ) , Error > { let ( client , server ) = create_endpoints ( ) ? ; Ok ( ( client , server . into_stream ( ) ? ) ) }
Create a request stream and a client endpoint connected to it by a channel.
Create a request stream and a client endpoint connected to it by a channel .