|
rstd 0.1.0
|
The sending half of an asynchronous (unbounded) channel. More...
Public Member Functions | |
| auto | send (T msg) -> Result< empty, T > |
| Sends a value on this channel, returning Err(msg) if the receiver has disconnected. | |
The sending half of an asynchronous (unbounded) channel.
Senders can be cloned to send from multiple threads.
| T | The type of values sent through the channel. |
|
inlineexport |
Sends a value on this channel, returning Err(msg) if the receiver has disconnected.
| msg | The message to send. |