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§
Sourcefn storage_update_options(&self) -> PolarsResult<Vec<(PlSmallStr, PlSmallStr)>>
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§
fn into_aws_provider(self) -> AwsCredentialProvider
Available on crate feature
aws only.fn into_azure_provider(self) -> AzureCredentialProvider
Available on crate feature
azure only.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.