Struct tic::Sender[][src]

pub struct Sender<T> { /* 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]

create a new Sender for use in client threads

a function to send a Sample to the Receiver

register an Interest

de-register an Interest

a function to change the batch size of the Sender

mock try_send Sample to the Receiver

Trait Implementations

impl<T: Clone> Clone for Sender<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Sender<T> where
    T: Send + Sync

impl<T> Sync for Sender<T> where
    T: Send + Sync