pub trait AutoDiscoveryGossip<R: SecretRotation + Default + Clone + Send + 'static> {
// Required methods
async fn subscribe_and_join_with_auto_discovery(
&self,
topic_id: TopicId,
initial_secret: Vec<u8>,
) -> Result<Topic<R>>;
async fn subscribe_and_join_with_auto_discovery_no_wait(
&self,
topic_id: TopicId,
initial_secret: Vec<u8>,
) -> Result<Topic<R>>;
}Required Methods§
async fn subscribe_and_join_with_auto_discovery( &self, topic_id: TopicId, initial_secret: Vec<u8>, ) -> Result<Topic<R>>
async fn subscribe_and_join_with_auto_discovery_no_wait( &self, topic_id: TopicId, initial_secret: Vec<u8>, ) -> Result<Topic<R>>
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.