pub trait BoxedSubscriptionInner {
// Required methods
fn boxed_unsubscribe(self: Box<Self>);
fn boxed_is_closed(&self) -> bool;
}Expand description
Helper trait for calling unsubscribe on boxed trait objects
Since Subscription::unsubscribe(self) requires Sized, we need this
workaround trait to enable Box<dyn Subscription> to call unsubscribe.