Trait AutoDiscoveryGossip

Source
pub trait AutoDiscoveryGossip<R: SecretRotation + Default + Clone + Send + 'static> {
    // Required method
    async fn subscribe_and_join_with_auto_discovery(
        &self,
        topic_id: TopicId,
        initial_secret: &Vec<u8>,
    ) -> Result<Topic<R>>;
}

Required Methods§

Source

async fn subscribe_and_join_with_auto_discovery( &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.

Implementors§