pub enum IndexState {
Loaded,
Disposable,
Unloaded,
}
Expand description
Possible stats of pack indices.
Variants§
Loaded
The index is active in memory because a mapping exists.
Disposable
The index couldn’t be unloaded as it was still in use, but that can happen another time.
Unloaded
The index isn’t loaded/memory mapped.
Trait Implementations§
source§impl Clone for IndexState
impl Clone for IndexState
source§fn clone(&self) -> IndexState
fn clone(&self) -> IndexState
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 Debug for IndexState
impl Debug for IndexState
source§impl<'de> Deserialize<'de> for IndexState
impl<'de> Deserialize<'de> for IndexState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IndexState
impl PartialEq for IndexState
source§impl Serialize for IndexState
impl Serialize for IndexState
impl Eq for IndexState
impl StructuralPartialEq for IndexState
Auto Trait Implementations§
impl Freeze for IndexState
impl RefUnwindSafe for IndexState
impl Send for IndexState
impl Sync for IndexState
impl Unpin for IndexState
impl UnwindSafe for IndexState
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
)