Crate libreplica[][src]

Modules

Structs

Error returned from a Receiver when the corresponding Sender is dropped.

A means of transmitting a single value to another task.

A future for a value that will be provided by another asynchronous task.

Enums

Traits

The “ghost” meta-type for protocol implementation, i.e. a group of receivers including client, server, etc. Engines are generic over Protocol instead of contained receiver states, which normally take the engine type as generic parameter, to prevent cyclic type.

Some structs need to implement Borrow on non-specific types, e.g. generic parameters or trait’s associate type. Include a tag to prevent these implementations collide with each other.

Functions

Creates a new one-shot channel for sending a single value across asynchronous tasks.

Type Definitions