Struct copra::channel::Channel [] [src]

pub struct Channel { /* fields omitted */ }

Communication channel between servers

The Channel implements Clone, Send, and Sync. Once a channel is create from a ChannelBuilder, it can be cloned and used in multiple threads.

Methods

impl Channel
[src]

[src]

Create a new channel.

This method is used by ChannelBuilder.

[src]

Issue a request.

This method deals with serialized, untyped message. It is meaned to be used internally by the framework. More ergonomic interfaces are provided by the auto-generated stubs.

[src]

Check if the channel is currently congested (i.e. concurrency limit is reached).

Trait Implementations

impl Clone for Channel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Channel
[src]

[src]

Formats the value using the given formatter.