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
sourceimpl Clone for IndexState
impl Clone for IndexState
sourcefn clone(&self) -> IndexState
fn clone(&self) -> IndexState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IndexState
impl Debug for IndexState
sourceimpl<'de> Deserialize<'de> for IndexState
impl<'de> Deserialize<'de> for IndexState
sourcefn 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
sourceimpl PartialEq<IndexState> for IndexState
impl PartialEq<IndexState> for IndexState
sourceimpl Serialize for IndexState
impl Serialize for IndexState
impl Eq for IndexState
impl StructuralEq for IndexState
impl StructuralPartialEq for IndexState
Auto Trait Implementations
impl RefUnwindSafe for IndexState
impl Send for IndexState
impl Sync for IndexState
impl Unpin for IndexState
impl UnwindSafe for IndexState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more