pub enum UrlStyle {
Path,
VirtualHost,
}Expand description
The request url format of a S3 bucket.
Variants
Path
Requests will use “path-style” url: i.e:
https://s3.<region>.amazonaws.com/<bucket>/<key>.
This style should be considered deprecated and is NOT RECOMMENDED. Check Amazon S3 Path Deprecation Plan for more informations.
VirtualHost
Requests will use “virtual-hosted-style” urls, i.e:
https://<bucket>.s3.<region>.amazonaws.com/<key>.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UrlStyle
impl Send for UrlStyle
impl Sync for UrlStyle
impl Unpin for UrlStyle
impl UnwindSafe for UrlStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more