pub enum ModuleFromPathError {
ParseError(()),
PathDoesNotExist(PathBuf),
NoResolverForExtension(String),
}Variants§
Trait Implementations§
source§impl Debug for ModuleFromPathError
impl Debug for ModuleFromPathError
source§impl From<()> for ModuleFromPathError
impl From<()> for ModuleFromPathError
source§fn from(item: ()) -> ModuleFromPathError
fn from(item: ()) -> ModuleFromPathError
Converts to this type from the input type.
source§impl From<ModuleFromPathError> for Diagnostic
impl From<ModuleFromPathError> for Diagnostic
source§fn from(err: ModuleFromPathError) -> Self
fn from(err: ModuleFromPathError) -> Self
Converts to this type from the input type.
source§impl From<PathBuf> for ModuleFromPathError
impl From<PathBuf> for ModuleFromPathError
source§fn from(item: PathBuf) -> ModuleFromPathError
fn from(item: PathBuf) -> ModuleFromPathError
Converts to this type from the input type.
source§impl From<String> for ModuleFromPathError
impl From<String> for ModuleFromPathError
source§fn from(item: String) -> ModuleFromPathError
fn from(item: String) -> ModuleFromPathError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ModuleFromPathError
impl Send for ModuleFromPathError
impl Sync for ModuleFromPathError
impl Unpin for ModuleFromPathError
impl UnwindSafe for ModuleFromPathError
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