pub enum BootstrapError {
Config(ConfigError),
WalInit(String),
Dependency(String),
}Expand description
Bootstrap error types.
Typed errors distinguish configuration validation failures from dependency initialization failures.
Variants§
Config(ConfigError)
Configuration validation failed.
WalInit(String)
WAL file system initialization failed.
Dependency(String)
Dependency assembly failed.
Trait Implementations§
Source§impl Clone for BootstrapError
impl Clone for BootstrapError
Source§fn clone(&self) -> BootstrapError
fn clone(&self) -> BootstrapError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BootstrapError
impl Debug for BootstrapError
Source§impl Display for BootstrapError
impl Display for BootstrapError
Source§impl Error for BootstrapError
impl Error for BootstrapError
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 From<ConfigError> for BootstrapError
impl From<ConfigError> for BootstrapError
Source§fn from(err: ConfigError) -> Self
fn from(err: ConfigError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BootstrapError
impl PartialEq for BootstrapError
impl Eq for BootstrapError
impl StructuralPartialEq for BootstrapError
Auto Trait Implementations§
impl Freeze for BootstrapError
impl RefUnwindSafe for BootstrapError
impl Send for BootstrapError
impl Sync for BootstrapError
impl Unpin for BootstrapError
impl UnsafeUnpin for BootstrapError
impl UnwindSafe for BootstrapError
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