AutoDiscoveryBuilder

Trait AutoDiscoveryBuilder 

Source
pub trait AutoDiscoveryBuilder {
    // Required method
    async fn spawn_with_auto_discovery<R: SecretRotation + Default + Clone + Send + 'static>(
        self,
        endpoint: Endpoint,
        secret_rotation_function: Option<R>,
    ) -> Result<Gossip<R>>;
}

Required Methods§

Source

async fn spawn_with_auto_discovery<R: SecretRotation + Default + Clone + Send + 'static>( self, endpoint: Endpoint, secret_rotation_function: Option<R>, ) -> Result<Gossip<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.

Implementations on Foreign Types§

Source§

impl AutoDiscoveryBuilder for Builder

Source§

async fn spawn_with_auto_discovery<R: SecretRotation + Default + Clone + Send + 'static>( self, endpoint: Endpoint, secret_rotation_function: Option<R>, ) -> Result<Gossip<R>>

Implementors§