SenderType

Trait SenderType 

Source
pub trait SenderType {
    type Flavor: Flavor;

    // Required method
    fn new(shared: Arc<ChannelShared<Self::Flavor>>) -> Self;
}
Expand description

type limiter for channel builder

Required Associated Types§

Required Methods§

Source

fn new(shared: Arc<ChannelShared<Self::Flavor>>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<F> SenderType for CloseHandle<F>
where F: Flavor<Item = ()> + Flavor,

Source§

impl<T: Send + Unpin + 'static, F: Flavor<Item = T> + FlavorMP> SenderType for MAsyncTx<F>

Source§

impl<T: Send + Unpin + 'static, F: Flavor<Item = T> + FlavorMP> SenderType for MTx<F>

Source§

impl<T: Send + Unpin + 'static, F: Flavor<Item = T>> SenderType for AsyncTx<F>

Source§

impl<T: Send + Unpin + 'static, F: Flavor<Item = T>> SenderType for Tx<F>