Trait oci_client::client::ClientConfigSource

source ·
pub trait ClientConfigSource {
    // Required method
    fn client_config(&self) -> ClientConfig;
}
Expand description

A source that can provide a ClientConfig. If you are using this crate in your own application, you can implement this trait on your configuration type so that it can be passed to Client::from_source.

Required Methods§

source

fn client_config(&self) -> ClientConfig

Provides a ClientConfig.

Implementors§