pub struct Bucket<V> { /* private fields */ }
Implementations
sourceimpl<V: Serialize + DeserializeOwned> Bucket<V>
impl<V: Serialize + DeserializeOwned> Bucket<V>
sourceimpl<V: Serialize + DeserializeOwned> Bucket<V>
impl<V: Serialize + DeserializeOwned> Bucket<V>
sourcepub fn exists_within(&self, key: &str, sub: &str) -> bool
pub fn exists_within(&self, key: &str, sub: &str) -> bool
Check if a key exists within sub-bucket
sourcepub fn put_within(&self, key: &str, value: V, sub: &str) -> Result<(), Error>
pub fn put_within(&self, key: &str, value: V, sub: &str) -> Result<(), Error>
Create a key in a sub-bucket
sourcepub fn remove_within(&self, key: &str, sub: &str) -> Result<(), Error>
pub fn remove_within(&self, key: &str, sub: &str) -> Result<(), Error>
Delete a file in a sub-bucket
Auto Trait Implementations
impl<V> RefUnwindSafe for Bucket<V> where
V: RefUnwindSafe,
impl<V> Send for Bucket<V> where
V: Send,
impl<V> Sync for Bucket<V> where
V: Sync,
impl<V> Unpin for Bucket<V> where
V: Unpin,
impl<V> UnwindSafe for Bucket<V> where
V: UnwindSafe,
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