Struct futures_shim::mpsc::Sender [] [src]

pub struct Sender<T>(_);

Wrapper for an mpsc Sender

One can create one using the From or Into trait:

use futures_shim::mpsc;
let (tx, _) = ::std::sync::mpsc::channel::<i8>();
let _ : mpsc::Sender<i8> = tx.into();

Methods

impl<T> Sender<T>
[src]

Sends the data, returning a future

Trait Implementations

impl<T: Debug> Debug for Sender<T>
[src]

Formats the value using the given formatter.

impl<T> From<MpscSender<T>> for Sender<T>
[src]

Performs the conversion.