Enum AmbientCacheOperation
#[non_exhaustive]pub enum AmbientCacheOperation {
ResetDatabase,
PackDatabase,
Invalidate,
Clear,
}Expand description
Ambient cache maintenance operation for a runtime.
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.
ResetDatabase
Reset the ambient cache database.
PackDatabase
Pack the ambient cache database.
Invalidate
Mark ambient cache resources as invalid.
Clear
Clear ambient cache resources.
Implementations§
Trait Implementations§
§impl Clone for AmbientCacheOperation
impl Clone for AmbientCacheOperation
§fn clone(&self) -> AmbientCacheOperation
fn clone(&self) -> AmbientCacheOperation
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 AmbientCacheOperation
impl Debug for AmbientCacheOperation
§impl Hash for AmbientCacheOperation
impl Hash for AmbientCacheOperation
§impl PartialEq for AmbientCacheOperation
impl PartialEq for AmbientCacheOperation
impl Copy for AmbientCacheOperation
impl Eq for AmbientCacheOperation
impl StructuralPartialEq for AmbientCacheOperation
Auto Trait Implementations§
impl Freeze for AmbientCacheOperation
impl RefUnwindSafe for AmbientCacheOperation
impl Send for AmbientCacheOperation
impl Sync for AmbientCacheOperation
impl Unpin for AmbientCacheOperation
impl UnsafeUnpin for AmbientCacheOperation
impl UnwindSafe for AmbientCacheOperation
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