pub enum ImportError {
DuplicateImport(String, String),
Other(Error),
}
Variants§
Trait Implementations§
source§impl Debug for ImportError
impl Debug for ImportError
source§impl Display for ImportError
impl Display for ImportError
source§impl Error for ImportError
impl Error for ImportError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for ImportError
impl From<Error> for ImportError
source§impl From<ImportError> for WasmBackendError
impl From<ImportError> for WasmBackendError
source§fn from(source: ImportError) -> Self
fn from(source: ImportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnwindSafe for ImportError
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