pub enum StoreListError {
File(FileError),
Shutdown(Shutdown),
Bug(Bug),
Deletion {
store: StoreId,
source: StoreDeletionError,
},
}Expand description
A failure listing the stores. A store that can’t be read is not one: it
is listed as ListedStore::Unreadable.
Variants§
File(FileError)
The directory listing or an identity settings read failed.
Shutdown(Shutdown)
The runtime is shutting down and dropped the listing’s work (E15).
Bug(Bug)
Listing the stores panicked on the blocking pool: a bug, which the caller reports (E15).
Deletion
Finishing the recorded deletion of store failed (E1). The store is
not listed, and the next listing finishes the deletion.
Trait Implementations§
Source§impl CarriesBug for StoreListError
impl CarriesBug for StoreListError
Source§impl Debug for StoreListError
impl Debug for StoreListError
Source§impl Display for StoreListError
impl Display for StoreListError
Source§impl Error for StoreListError
impl Error for StoreListError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Bug> for StoreListError
impl From<Bug> for StoreListError
Source§impl From<FileError> for StoreListError
impl From<FileError> for StoreListError
Auto Trait Implementations§
impl Freeze for StoreListError
impl !RefUnwindSafe for StoreListError
impl Send for StoreListError
impl Sync for StoreListError
impl Unpin for StoreListError
impl UnsafeUnpin for StoreListError
impl !UnwindSafe for StoreListError
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.