pub struct ChannelTypes<A: CT, B: CT>(_);
Expand description

Channel types for combined channels

A and B are the channel types for the two channels. In and Out are the message types for the two channels.

Trait Implementations§

The sink used for sending either requests or responses on this channel
The stream used for receiving either requests or responses on this channel
Error you might get while sending messages to a sink
Error you might get while receiving messages from a stream
Error you might get when opening a new connection to the server
Future returned by open_bi
Error you might get when waiting for new streams on the server side
Future returned by accept_bi
Channel type
Channel type
Open a bidirectional stream
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The local addresses this server is bound to. Read more
Accept a bidirectional stream

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more