Enum git_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
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 moresourceimpl 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
sourcefn eq(&self, other: &IndexState) -> bool
fn eq(&self, other: &IndexState) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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