pub enum StorageAccess {
ReadWrite,
ReadDelete,
Read,
}Expand description
An access capability over the storage.
Variants§
ReadWrite
Allows both reading and writing operations on objects.
ReadDelete
Allows only reading and deleting operations on objects.
Read
Allows only reading objects.
Trait Implementations§
Source§impl Clone for StorageAccess
impl Clone for StorageAccess
Source§fn clone(&self) -> StorageAccess
fn clone(&self) -> StorageAccess
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageAccess
impl Debug for StorageAccess
Source§impl Hash for StorageAccess
impl Hash for StorageAccess
Source§impl PartialEq for StorageAccess
impl PartialEq for StorageAccess
impl Copy for StorageAccess
impl Eq for StorageAccess
impl StructuralPartialEq for StorageAccess
Auto Trait Implementations§
impl Freeze for StorageAccess
impl RefUnwindSafe for StorageAccess
impl Send for StorageAccess
impl Sync for StorageAccess
impl Unpin for StorageAccess
impl UnwindSafe for StorageAccess
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