pub struct StorageClient { /* private fields */ }Expand description
Storage client — access buckets by name.
Implementations§
Source§impl StorageClient
impl StorageClient
pub fn new(http: Arc<HttpClient>) -> Self
Sourcepub fn bucket(&self, name: &str) -> StorageBucket
pub fn bucket(&self, name: &str) -> StorageBucket
Get a handle to a named bucket.
Auto Trait Implementations§
impl Freeze for StorageClient
impl !RefUnwindSafe for StorageClient
impl Send for StorageClient
impl Sync for StorageClient
impl Unpin for StorageClient
impl UnsafeUnpin for StorageClient
impl !UnwindSafe for StorageClient
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