Skip to main content

TopicDiscoveryExt

Trait TopicDiscoveryExt 

Source
pub trait TopicDiscoveryExt {
    // Required methods
    async fn subscribe_with_discovery_joined(
        &self,
        topic_id: Vec<u8>,
        bootstrap_nodes: Vec<EndpointId>,
        config: TopicDiscoveryConfig,
    ) -> Result<(GossipSender, GossipReceiver, TopicDiscoveryHandle)>;
    async fn subscribe_with_discovery(
        &self,
        topic_id: Vec<u8>,
        bootstrap_nodes: Vec<EndpointId>,
        config: TopicDiscoveryConfig,
    ) -> Result<(GossipSender, GossipReceiver, TopicDiscoveryHandle)>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TopicDiscoveryExt for Gossip

Implementors§