pub(in storage) fn new(
args: &Args<'_>,
name: &str,
config: &StorageProviderS3,
) -> Result<Option<(String, Arc<Provider>)>>Expand description
Builds an enabled S3-compatible provider.
A configuration with neither a URL nor a bucket returns None. Other
settings override the environment-derived builder before the client and its
URL signer are retained by the provider.