Struct transformable_channels::mpsc::RawSender [] [src]

pub struct RawSender<T> where T: Send + 'static {
    // some fields omitted
}

An implementation of ExtSender directly on top of std::sync::mpsc::Sender and with the same performance.

Trait Implementations

impl<T> ExtSender<T> for RawSender<T> where T: Send + 'static

fn send(&self, t: T) -> Result<(), ()>

fn internal_clone(&self) -> Box<ExtSender<T>>

impl<T> Clone for RawSender<T> where T: Send + 'static

fn clone(&self) -> Self

1.0.0fn clone_from(&mut self, source: &Self)

impl<T> TransformableSender<T> for RawSender<T> where T: Send + 'static

fn map<F, T>(&self, f: F) -> MappedSender<F, T, V, Self> where Self: Sized, F: Fn(T) -> V + Sync + Send + 'static, T: Send + 'static, V: Send + 'static

fn filter<F>(&self, f: F) -> FilteredSender<F, V, Self> where Self: Sized, F: Fn(&V) -> bool + Sync + Send + 'static

fn filter_map<F, T>(&self, f: F) -> FilterMappedSender<F, T, V, Self> where Self: Sized, F: Fn(T) -> Option<V> + Sync + Send + 'static, T: Send + 'static

fn tie<S, W>(&self, other: &S) -> TiedSender<Self, S, V, W> where Self: Sized, S: ExtSender<W> + TransformableSender<W>, W: Send + 'static