[−][src]Struct futures::channel::mpsc::Sender
The transmission end of a bounded mpsc channel.
This value is created by the channel
function.
Methods
impl<T> Sender<T>
[src][−]
pub fn try_send(&mut self, msg: T) -> Result<(), TrySendError<T>>
[src][+]
pub fn start_send(&mut self, msg: T) -> Result<(), SendError>
[src][+]
pub fn poll_ready(&mut self, cx: &mut Context) -> Poll<Result<(), SendError>>
[src][+]
pub fn is_closed(&self) -> bool
[src][+]
pub fn close_channel(&mut self)
[src][+]
pub fn disconnect(&mut self)
[src][+]
Trait Implementations
impl<T> Sink<T> for Sender<T>
[src][+]
impl<T> Clone for Sender<T>
[src][+]
impl<T> Debug for Sender<T> where
T: Debug,
[src][+]
T: Debug,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src][+]
impl<T, U> Into for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T> Borrow for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T, Item> SinkExt for T where
T: Sink<Item> + ?Sized,
[src][+]
T: Sink<Item> + ?Sized,