Enum gix_odb::store::structure::IndexState
source · 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§fn eq(&self, other: &IndexState) -> bool
fn eq(&self, other: &IndexState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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§
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