pub struct USubscriptionStopper { /* private fields */ }Expand description
This object holds all mutable content associated with a running USubscriptionService, and is populated and returned when
calling USubscriptionService::run(). It exists for two reasons: a) allow USubscriptionService to remain useable as an immutable
object that can be put into Arcs and passed around freely, while b) offering a well-defined way to stop a running USubscriptionService
by simply calling USubscriptionStopper::stop().
Implementations§
Auto Trait Implementations§
impl Freeze for USubscriptionStopper
impl RefUnwindSafe for USubscriptionStopper
impl Send for USubscriptionStopper
impl Sync for USubscriptionStopper
impl Unpin for USubscriptionStopper
impl UnwindSafe for USubscriptionStopper
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