pub enum Faulted {
Missing,
Warm,
Served,
Promoted,
}Expand description
What happened to a read of a key that may not have been in memory.
Variants§
Missing
No such key. Nothing was read and nothing was written.
Warm
The value was in memory all along, so the output buffer was not touched and the caller should read the record the way it always does.
Served
Read from the file and deliberately left there, because one read is not enough to earn a slot in memory back.
Promoted
Read from the file and brought back into memory, so the next read of this key does not touch the device.
Trait Implementations§
impl Copy for Faulted
impl Eq for Faulted
impl StructuralPartialEq for Faulted
Auto Trait Implementations§
impl Freeze for Faulted
impl RefUnwindSafe for Faulted
impl Send for Faulted
impl Sync for Faulted
impl Unpin for Faulted
impl UnsafeUnpin for Faulted
impl UnwindSafe for Faulted
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