Expand description

Oneshot channels transmit a single value between a sender and a reciever.

Neither can be cloned. If the sender drops, the receiver recieves a None value.

Structs

The receiver half of a oneshot channel. Can recieve a single message (or none if the sender drops) with the postage::Stream trait.

The sender half of a oneshot channel. Can transmit a single message with the postage::Sink trait.

Functions

Constructs a pair of oneshot endpoints