pub enum OpenFailure {
Refused(TenantError),
WrongKey,
Access {
path: PathBuf,
error: Error,
},
}Expand description
Why a tenant’s Store could not be had: the registry refused, its
catalog does not open under its key, or this process may not use one of
its files. Only check and serve’s start-up check tell these apart;
every other caller sees TenantError (From below).
Variants§
Trait Implementations§
Source§impl Debug for OpenFailure
impl Debug for OpenFailure
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<OpenFailure> for TenantError
impl From<OpenFailure> for TenantError
Source§fn from(f: OpenFailure) -> TenantError
fn from(f: OpenFailure) -> TenantError
Converts to this type from the input type.
Source§impl From<TenantError> for OpenFailure
impl From<TenantError> for OpenFailure
Source§fn from(e: TenantError) -> OpenFailure
fn from(e: TenantError) -> OpenFailure
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OpenFailure
impl !UnwindSafe for OpenFailure
impl Forget for OpenFailure
impl Freeze for OpenFailure
impl Send for OpenFailure
impl Sync for OpenFailure
impl Unpin for OpenFailure
impl UnsafeUnpin for OpenFailure
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.