[−][src]Trait lifeline::Channel
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn clone_tx(tx: &mut Option<Self::Tx>) -> Option<Self::Tx>
fn clone_rx(
rx: &mut Option<Self::Rx>,
_tx: Option<&Self::Tx>
) -> Option<Self::Rx>
rx: &mut Option<Self::Rx>,
_tx: Option<&Self::Tx>
) -> Option<Self::Rx>
Implementations on Foreign Types
impl<T: Send + 'static> Channel for Sender<T>
[src]
type Tx = Self
type Rx = Receiver<T>
fn channel(capacity: usize) -> (Self::Tx, Self::Rx)
[src]
fn default_capacity() -> usize
[src]
impl<T: Send + 'static> Channel for Sender<T>
[src]
type Tx = Self
type Rx = Receiver<T>
fn channel(_capacity: usize) -> (Self::Tx, Self::Rx)
[src]
fn default_capacity() -> usize
[src]
impl<T: Send + 'static> Channel for Sender<T>
[src]
type Tx = Self
type Rx = Receiver<T>
fn channel(capacity: usize) -> (Self::Tx, Self::Rx)
[src]
fn default_capacity() -> usize
[src]
impl<T: Send + 'static> Channel for Sender<T>
[src]
type Tx = Self
type Rx = Receiver<T>
fn channel(capacity: usize) -> (Self::Tx, Self::Rx)
[src]
fn default_capacity() -> usize
[src]
fn clone_rx(
rx: &mut Option<Self::Rx>,
tx: Option<&Self::Tx>
) -> Option<Self::Rx>
[src]
rx: &mut Option<Self::Rx>,
tx: Option<&Self::Tx>
) -> Option<Self::Rx>
impl<T: Send + 'static> Channel for Sender<T>
[src]
type Tx = Self
type Rx = Receiver<T>
fn channel(_capacity: usize) -> (Self::Tx, Self::Rx)
[src]
fn default_capacity() -> usize
[src]
impl<T> Channel for Sender<T> where
T: Default + Clone + Send + Sync + 'static,
[src]
T: Default + Clone + Send + Sync + 'static,
type Tx = Self
type Rx = Receiver<T>
fn channel(_capacity: usize) -> (Self::Tx, Self::Rx)
[src]
fn default_capacity() -> usize
[src]
Implementors
impl<T> Channel for lifeline::subscription::Sender<T> where
T: Hash + Eq + Clone + Debug + Send + Sync + 'static,
[src]
T: Hash + Eq + Clone + Debug + Send + Sync + 'static,