IntoCredentialProvider

Trait IntoCredentialProvider 

Source
pub trait IntoCredentialProvider: Sized {
    // Required method
    fn storage_update_options(
        &self,
    ) -> PolarsResult<Vec<(PlSmallStr, PlSmallStr)>>;

    // Provided methods
    fn into_aws_provider(self) -> AwsCredentialProvider { ... }
    fn into_azure_provider(self) -> AzureCredentialProvider { ... }
    fn into_gcp_provider(self) -> GcpCredentialProvider { ... }
}
Available on crate feature cloud only.

Required Methods§

Source

fn storage_update_options(&self) -> PolarsResult<Vec<(PlSmallStr, PlSmallStr)>>

Note, technically shouldn’t be under the IntoCredentialProvider trait, but it’s here for convenience.

Provided Methods§

Source

fn into_aws_provider(self) -> AwsCredentialProvider

Available on crate feature aws only.
Source

fn into_azure_provider(self) -> AzureCredentialProvider

Available on crate feature azure only.
Source

fn into_gcp_provider(self) -> GcpCredentialProvider

Available on crate feature gcp only.

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§