pub struct StorageBuilder { /* private fields */ }Implementations§
Source§impl StorageBuilder
impl StorageBuilder
pub fn new(provider: StorageProvider) -> Self
pub fn with_bucket(self, bucket: impl Into<String>) -> Self
pub fn with_region(self, region: impl Into<String>) -> Self
pub fn with_endpoint(self, endpoint: impl Into<String>) -> Self
pub fn with_access_key(self, key: impl Into<String>) -> Self
pub fn with_secret_key(self, key: impl Into<String>) -> Self
pub fn with_path_prefix(self, prefix: impl Into<String>) -> Self
pub fn with_base_path(self, base_path: impl Into<String>) -> Self
pub fn build(self) -> Result<StorageWrapper, StorageError>
Auto Trait Implementations§
impl Freeze for StorageBuilder
impl RefUnwindSafe for StorageBuilder
impl Send for StorageBuilder
impl Sync for StorageBuilder
impl Unpin for StorageBuilder
impl UnsafeUnpin for StorageBuilder
impl UnwindSafe for StorageBuilder
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