pub trait PublicUrler: Send + Sync {
// Required method
fn public_url(&self, key: &str) -> Result<String, Error>;
}Expand description
Resolve objects’ public URLs. Implemented by a BucketRef granting
perms::PublicUrler.
Required Methods§
Sourcefn public_url(&self, key: &str) -> Result<String, Error>
fn public_url(&self, key: &str) -> Result<String, Error>
See Bucket::public_url.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".