pub enum Usage {
Read,
Write,
ReadWrite,
}
Expand description
Allows specifying two different enumerated values depending whether it is to be used for a read or a write access.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Usage
impl PartialEq for Usage
impl Copy for Usage
impl Eq for Usage
impl StructuralEq for Usage
impl StructuralPartialEq for Usage
Auto Trait Implementations§
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnwindSafe for Usage
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