pub enum ExamineError {
Objects {
kind: ErrorKind,
os_error: Option<i32>,
},
Failed(StoreError),
}Expand description
Why a Store could not be examined.
Variants§
Objects
The storage failed to read a version’s object or pack file, or to list the objects: the error’s kind and the system’s error number, as the server logs them. The error’s text is not kept, since a service’s message may name an object’s key.
Failed(StoreError)
Anything else, such as a catalog read that failed.
Trait Implementations§
Source§impl Clone for ExamineError
impl Clone for ExamineError
impl Copy for ExamineError
Source§impl Debug for ExamineError
impl Debug for ExamineError
impl Eq for ExamineError
Source§impl From<StoreError> for ExamineError
impl From<StoreError> for ExamineError
Source§fn from(e: StoreError) -> ExamineError
fn from(e: StoreError) -> ExamineError
Converts to this type from the input type.
Source§impl PartialEq for ExamineError
impl PartialEq for ExamineError
impl StructuralPartialEq for ExamineError
Auto Trait Implementations§
impl Forget for ExamineError
impl Freeze for ExamineError
impl RefUnwindSafe for ExamineError
impl Send for ExamineError
impl Sync for ExamineError
impl Unpin for ExamineError
impl UnsafeUnpin for ExamineError
impl UnwindSafe for ExamineError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.