pub fn create_sync_proxy<T: ProtocolMarker>(
) -> (T::SynchronousProxy, ServerEnd<T>)
Expand description

Create a synchronous client proxy and a server endpoint connected to it by a channel.

Useful for sending channel handles to calls that take arguments of type server_end:SomeProtocol