#[repr(u8)]pub enum RwAllocPolicy {
W = 1,
R = 2,
RW = 3,
}Expand description
Cache allocation policy
Variants§
Trait Implementations§
Source§impl Clone for RwAllocPolicy
impl Clone for RwAllocPolicy
Source§fn clone(&self) -> RwAllocPolicy
fn clone(&self) -> RwAllocPolicy
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 RwAllocPolicy
impl Debug for RwAllocPolicy
Source§impl PartialEq for RwAllocPolicy
impl PartialEq for RwAllocPolicy
impl Copy for RwAllocPolicy
impl Eq for RwAllocPolicy
impl StructuralPartialEq for RwAllocPolicy
Auto Trait Implementations§
impl Freeze for RwAllocPolicy
impl RefUnwindSafe for RwAllocPolicy
impl Send for RwAllocPolicy
impl Sync for RwAllocPolicy
impl Unpin for RwAllocPolicy
impl UnwindSafe for RwAllocPolicy
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