pub enum ReadWriteMode {
Read,
Write,
}Expand description
The mode in which a handle is provisioned to access the (existing in S3 or local) data for a file (mapped to an inode and backed by a corresponding S3 object)
Variants§
Read
Allow reads from this and other concurrent readers (but no writer)
Write
Allow writes from this exclusive writer (but no other writer or readers)
Trait Implementations§
Source§impl Clone for ReadWriteMode
impl Clone for ReadWriteMode
Source§fn clone(&self) -> ReadWriteMode
fn clone(&self) -> ReadWriteMode
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 ReadWriteMode
impl Debug for ReadWriteMode
impl Copy for ReadWriteMode
Auto Trait Implementations§
impl Freeze for ReadWriteMode
impl RefUnwindSafe for ReadWriteMode
impl Send for ReadWriteMode
impl Sync for ReadWriteMode
impl Unpin for ReadWriteMode
impl UnsafeUnpin for ReadWriteMode
impl UnwindSafe for ReadWriteMode
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