pub struct SubscriptionManager<T: Clone> { /* private fields */ }
Expand description
A manager for subscriptions. The manager is bound to a broadcaster and can be used to subscribe to it’s broadcast messages. It can be cloned and sent to other threads which also want to subscribe to the broadcast.
Trait Implementations§
Source§impl<T: Clone + Clone> Clone for SubscriptionManager<T>
impl<T: Clone + Clone> Clone for SubscriptionManager<T>
Source§fn clone(&self) -> SubscriptionManager<T>
fn clone(&self) -> SubscriptionManager<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Clone> SubscriptionRegistration<T> for SubscriptionManager<T>
impl<T: Clone> SubscriptionRegistration<T> for SubscriptionManager<T>
Auto Trait Implementations§
impl<T> Freeze for SubscriptionManager<T>
impl<T> RefUnwindSafe for SubscriptionManager<T>
impl<T> Send for SubscriptionManager<T>where
T: Send,
impl<T> Sync for SubscriptionManager<T>where
T: Send,
impl<T> Unpin for SubscriptionManager<T>
impl<T> UnwindSafe for SubscriptionManager<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more