pub fn create_request_stream<T: ProtocolMarker>() -> Result<(ClientEnd<T>, T::RequestStream), Error>
Expand description
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 client_end:SomeProtocol
ยงPanics
If called outside the context of an active async executor.