#[non_exhaustive]pub enum StorageDriver {
Local {
base_path: String,
},
S3 {
bucket: String,
region: String,
},
R2 {
bucket: String,
account_id: String,
},
}Expand description
Storage Driver Target Adapter
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Local
Local file system storage
S3
Amazon Web Services (AWS) S3 Storage
R2
Cloudflare R2 Object Storage
Trait Implementations§
Source§impl Clone for StorageDriver
impl Clone for StorageDriver
Auto Trait Implementations§
impl Freeze for StorageDriver
impl RefUnwindSafe for StorageDriver
impl Send for StorageDriver
impl Sync for StorageDriver
impl Unpin for StorageDriver
impl UnsafeUnpin for StorageDriver
impl UnwindSafe for StorageDriver
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