Struct std::comm::Chan

pub struct Chan<T> {
    x: Chan<T>,
}

Trait Implementations

impl<T: Send> GenericChan<T> for Chan<T>

fn send(&self, val: T)

Sends a message.

impl<T: Send> GenericSmartChan<T> for Chan<T>

fn try_send(&self, val: T) -> bool

Sends a message, or report if the receiver has closed the connection.

impl<T: Send> SendDeferred<T> for Chan<T>

fn send_deferred(&self, val: T)

fn try_send_deferred(&self, val: T) -> bool