Struct pub_sub::PubSub [] [src]

pub struct PubSub<T: Clone> { /* fields omitted */ }

Pub/sub channel.

Methods

impl<T: Clone> PubSub<T>
[src]

Create a pub/sub channel

Attempts to broadcast

Create a new subscription to the channel.

Trait Implementations

impl<T: Clone + Clone> Clone for PubSub<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more