pub enum FdbSetupErrorReason {
ClientAlreadyInitialized,
ApiVersionUnsupported,
NetworkBootFailed,
DatabaseOpenFailed,
ClientInitializationPanicked,
}Expand description
Stable FoundationDB client and database setup failure reasons.
Variants§
ClientAlreadyInitialized
The process already initialized the singleton FoundationDB client.
ApiVersionUnsupported
The selected runtime API is incompatible with the linked client.
NetworkBootFailed
The FoundationDB network thread could not be booted.
DatabaseOpenFailed
A database handle could not be opened.
ClientInitializationPanicked
The upstream binding panicked while initializing its global client.
Trait Implementations§
Source§impl Clone for FdbSetupErrorReason
impl Clone for FdbSetupErrorReason
Source§fn clone(&self) -> FdbSetupErrorReason
fn clone(&self) -> FdbSetupErrorReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FdbSetupErrorReason
Source§impl Debug for FdbSetupErrorReason
impl Debug for FdbSetupErrorReason
Source§impl Display for FdbSetupErrorReason
impl Display for FdbSetupErrorReason
impl Eq for FdbSetupErrorReason
Source§impl Error for FdbSetupErrorReason
impl Error for FdbSetupErrorReason
1.30.0 · 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 PartialEq for FdbSetupErrorReason
impl PartialEq for FdbSetupErrorReason
impl StructuralPartialEq for FdbSetupErrorReason
Auto Trait Implementations§
impl Freeze for FdbSetupErrorReason
impl RefUnwindSafe for FdbSetupErrorReason
impl Send for FdbSetupErrorReason
impl Sync for FdbSetupErrorReason
impl Unpin for FdbSetupErrorReason
impl UnsafeUnpin for FdbSetupErrorReason
impl UnwindSafe for FdbSetupErrorReason
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