pub enum ReadOnlyOpenError {
Local(CovenError),
Storage(SyncError),
Bug(Bug),
}Expand description
Opening a read-only store or its saved file-storage connection failed.
Variants§
Local(CovenError)
The database or store directory could not be opened.
Storage(SyncError)
Saved settings, credential custody or provider construction failed.
Bug(Bug)
Opening panicked: a bug, which the caller reports (E15).
Trait Implementations§
Source§impl CarriesBug for ReadOnlyOpenError
impl CarriesBug for ReadOnlyOpenError
Source§impl Debug for ReadOnlyOpenError
impl Debug for ReadOnlyOpenError
Source§impl Display for ReadOnlyOpenError
impl Display for ReadOnlyOpenError
Source§impl Error for ReadOnlyOpenError
impl Error for ReadOnlyOpenError
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 ReadOnlyOpenError
impl From<Bug> for ReadOnlyOpenError
Source§impl From<CovenError> for ReadOnlyOpenError
impl From<CovenError> for ReadOnlyOpenError
Source§fn from(error: CovenError) -> Self
fn from(error: CovenError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for ReadOnlyOpenError
A database call’s or opening’s failure is the store’s.
impl From<DbError> for ReadOnlyOpenError
A database call’s or opening’s failure is the store’s.
Source§impl From<OpenError> for ReadOnlyOpenError
impl From<OpenError> for ReadOnlyOpenError
Auto Trait Implementations§
impl Freeze for ReadOnlyOpenError
impl !RefUnwindSafe for ReadOnlyOpenError
impl Send for ReadOnlyOpenError
impl Sync for ReadOnlyOpenError
impl Unpin for ReadOnlyOpenError
impl UnsafeUnpin for ReadOnlyOpenError
impl !UnwindSafe for ReadOnlyOpenError
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.