pub enum OpenError {
WrongKey,
Access {
path: PathBuf,
error: Error,
},
Store(StoreError),
}Expand description
Why a tenant’s Store did not open: kept apart so a key that does not open its catalog is never confused with files this process may not use.
Variants§
WrongKey
The catalog does not open under the tenant’s catalog key.
Access
This process may not use path, a file or directory the Store
needs; error is the system’s.
Store(StoreError)
Anything else.
Trait Implementations§
Source§impl From<CatalogError> for OpenError
impl From<CatalogError> for OpenError
Source§fn from(e: CatalogError) -> OpenError
fn from(e: CatalogError) -> OpenError
Converts to this type from the input type.
Source§impl From<OpenError> for StoreError
impl From<OpenError> for StoreError
Source§fn from(_: OpenError) -> StoreError
fn from(_: OpenError) -> StoreError
How the Store’s callers see a Store that did not open.
Source§impl From<OpenError> for OpenFailure
impl From<OpenError> for OpenFailure
Source§fn from(e: OpenError) -> OpenFailure
fn from(e: OpenError) -> OpenFailure
Converts to this type from the input type.
Source§impl From<StoreError> for OpenError
impl From<StoreError> for OpenError
Source§fn from(e: StoreError) -> OpenError
fn from(e: StoreError) -> OpenError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OpenError
impl !UnwindSafe for OpenError
impl Forget for OpenError
impl Freeze for OpenError
impl Send for OpenError
impl Sync for OpenError
impl Unpin for OpenError
impl UnsafeUnpin for OpenError
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> 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.