pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
pub fn security_providers(&self) -> &[SecurityHolder]
pub fn format_urls( &self, bucket_name: &str, object_key: &str, params: Option<HashMap<String, String>>, ) -> (RequestUri, CanonicalizedResource)
Sourcepub fn canonicalized_url(&self, bucket_name: &str, uri: &str) -> String
pub fn canonicalized_url(&self, bucket_name: &str, uri: &str) -> String
暂时不支持自定义域名
pub fn endpoint(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more