pub trait PubSubSpawn<Message: Clone> {
    fn subscribe(&mut self) -> Subscriber<Message>;
}

Required Methods§

Creates a new subscriber for this publisher

Implementations on Foreign Types§

For convenience, makes it possible to subscribe() to spawned publishers without having to call get_mut()

Implementors§