Skip to main content

ServiceClientFactory

Trait ServiceClientFactory 

Source
pub trait ServiceClientFactory: Send + Sync {
    // Required method
    fn create(
        &self,
        service: &DirectoryService,
    ) -> Result<ServiceClient, AgentError>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§