pub enum ModuleDeclarationError {
RegistryError(RegistryError),
IoError(Error),
YAMLError(Error),
VfsError(VfsError),
Generic(String),
}Variants§
RegistryError(RegistryError)
Record is not known to the registry or registry is not available.
IoError(Error)
IO error.
YAMLError(Error)
Serialization / deserialization error.
VfsError(VfsError)
Virtual file system error.
Generic(String)
For any other error.
Trait Implementations§
Source§impl Debug for ModuleDeclarationError
impl Debug for ModuleDeclarationError
Source§impl Display for ModuleDeclarationError
impl Display for ModuleDeclarationError
Source§impl Error for ModuleDeclarationError
impl Error for ModuleDeclarationError
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 !RefUnwindSafe for ModuleDeclarationError
impl !UnwindSafe for ModuleDeclarationError
impl Freeze for ModuleDeclarationError
impl Send for ModuleDeclarationError
impl Sync for ModuleDeclarationError
impl Unpin for ModuleDeclarationError
impl UnsafeUnpin for ModuleDeclarationError
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