Function create_request_stream
pub fn create_request_stream<T>() -> (ClientEnd<T>, <T as ProtocolMarker>::RequestStream)where
T: ProtocolMarker,
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.