pub trait SubscriptionLikeExtensionIntoShared:
Sized
+ 'static
+ SubscriptionWithTeardown
+ Send
+ Sync {
// Provided method
fn into_shared(self) -> SharedSubscription { ... }
}Provided Methods§
Wrap this subscription into a SharedSubscription, erasing it and allowing you to freely clone it, to unsubscribe it from multiple places.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.