Enum ResourceStoragePolicy
#[non_exhaustive]pub enum ResourceStoragePolicy {
Permanent,
Volatile,
Unknown(u32),
}Expand description
Resource cache storage policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
§impl Clone for ResourceStoragePolicy
impl Clone for ResourceStoragePolicy
§fn clone(&self) -> ResourceStoragePolicy
fn clone(&self) -> ResourceStoragePolicy
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 more§impl Debug for ResourceStoragePolicy
impl Debug for ResourceStoragePolicy
§impl Hash for ResourceStoragePolicy
impl Hash for ResourceStoragePolicy
§impl PartialEq for ResourceStoragePolicy
impl PartialEq for ResourceStoragePolicy
impl Copy for ResourceStoragePolicy
impl Eq for ResourceStoragePolicy
impl StructuralPartialEq for ResourceStoragePolicy
Auto Trait Implementations§
impl Freeze for ResourceStoragePolicy
impl RefUnwindSafe for ResourceStoragePolicy
impl Send for ResourceStoragePolicy
impl Sync for ResourceStoragePolicy
impl Unpin for ResourceStoragePolicy
impl UnsafeUnpin for ResourceStoragePolicy
impl UnwindSafe for ResourceStoragePolicy
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