pub enum CacheSpill {
Off,
Pages(NonZeroU32),
}Expand description
Whether a transaction may spill changed pages before it commits.
Variants§
Off
Changed pages stay in memory until commit.
Pages(NonZeroU32)
Spill once the cache holds this many pages, at most i32::MAX.
Trait Implementations§
Source§impl Clone for CacheSpill
impl Clone for CacheSpill
Source§fn clone(&self) -> CacheSpill
fn clone(&self) -> CacheSpill
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 CacheSpill
impl Debug for CacheSpill
Source§impl PartialEq for CacheSpill
impl PartialEq for CacheSpill
impl Copy for CacheSpill
impl Eq for CacheSpill
impl StructuralPartialEq for CacheSpill
Auto Trait Implementations§
impl Freeze for CacheSpill
impl RefUnwindSafe for CacheSpill
impl Send for CacheSpill
impl Sync for CacheSpill
impl Unpin for CacheSpill
impl UnsafeUnpin for CacheSpill
impl UnwindSafe for CacheSpill
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.