pub enum BlobEvictionPolicy {
NeverEvict,
EvictImmediately,
}
Expand description
Eviction policy used for blobs in blobfs
Variants§
Trait Implementations§
Source§impl Clone for BlobEvictionPolicy
impl Clone for BlobEvictionPolicy
Source§fn clone(&self) -> BlobEvictionPolicy
fn clone(&self) -> BlobEvictionPolicy
Returns a copy 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 Default for BlobEvictionPolicy
impl Default for BlobEvictionPolicy
Source§fn default() -> BlobEvictionPolicy
fn default() -> BlobEvictionPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlobEvictionPolicy
impl RefUnwindSafe for BlobEvictionPolicy
impl Send for BlobEvictionPolicy
impl Sync for BlobEvictionPolicy
impl Unpin for BlobEvictionPolicy
impl UnwindSafe for BlobEvictionPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)