Struct tic::Sender
[−]
[src]
pub struct Sender<T> {
// some fields omitted
}a Sender is used to push Samples to the Receiver it is clonable for sharing between threads
Methods
impl<T: Hash + Eq + Send + Clone> Sender<T>[src]
fn send(&self, sample: Sample<T>) -> Result<(), Sample<T>>
a function to send a Sample to the Receiver
Trait Implementations
impl<T: Clone> Clone for Sender<T>[src]
fn clone(&self) -> Sender<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more