pub enum BootError {
Failed(String),
DataDir(String),
Runtime(String),
}Expand description
Errors that can occur during the boot phase.
Variants§
Failed(String)
Generic boot failure with a descriptive message.
DataDir(String)
Could not resolve the app data directory.
Runtime(String)
Failed to create the boot Tokio runtime.
Trait Implementations§
Source§impl Error for BootError
impl Error for BootError
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()
Auto Trait Implementations§
impl Freeze for BootError
impl RefUnwindSafe for BootError
impl Send for BootError
impl Sync for BootError
impl Unpin for BootError
impl UnsafeUnpin for BootError
impl UnwindSafe for BootError
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