pub fn create_test_channels(transport: Transport) -> (Channel, Channel)Expand description
Creates a pair of channels for testing.
Returns (local, remote) where:
- When
transportisTransport::Fidl, the first element (local) is a FIDL client channel (wraps aChannelProxy) and the second element (remote) is a FIDL server channel (wraps aChannelRequestStream). - When
transportisTransport::Socket, the elements represent a symmetric socket pair and are not distinguished as client or server.