pub enum RegistryInitError {
HarnessFile(HarnessFileError),
Build(RegistryBuildError),
AlreadyInitialized,
}Expand description
The registry could not be initialized from the layered sources.
Variants§
Trait Implementations§
Source§impl Debug for RegistryInitError
impl Debug for RegistryInitError
Source§impl Display for RegistryInitError
impl Display for RegistryInitError
Source§impl Error for RegistryInitError
impl Error for RegistryInitError
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<HarnessFileError> for RegistryInitError
impl From<HarnessFileError> for RegistryInitError
Source§fn from(source: HarnessFileError) -> Self
fn from(source: HarnessFileError) -> Self
Converts to this type from the input type.
Source§impl From<RegistryBuildError> for RegistryInitError
impl From<RegistryBuildError> for RegistryInitError
Source§fn from(source: RegistryBuildError) -> Self
fn from(source: RegistryBuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegistryInitError
impl RefUnwindSafe for RegistryInitError
impl Send for RegistryInitError
impl Sync for RegistryInitError
impl Unpin for RegistryInitError
impl UnsafeUnpin for RegistryInitError
impl UnwindSafe for RegistryInitError
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