Skip to main content

ReceiverType

Trait ReceiverType 

Source
pub trait ReceiverType: AsRef<ChannelShared<Self::Flavor>> {
    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".

Implementors§

Source§

impl<F> ReceiverType for MRx<F>
where F: Flavor + FlavorMC,

Source§

impl<T, F: Flavor<Item = T> + FlavorMC> ReceiverType for MAsyncRx<F>

Source§

impl<T, F: Flavor<Item = T>> ReceiverType for AsyncRx<F>

Source§

impl<T, F: Flavor<Item = T>> ReceiverType for Rx<F>