pub trait TokenProvider:
Send
+ Sync
+ 'static {
type Error: StdError + Send + Sync + 'static;
// Required method
fn get_token(
&self,
) -> impl Future<Output = Result<impl Token, Self::Error>> + Send;
}Expand description
Provides authentication tokens for S3-compatible requests.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".