pub enum RelativeImportError {
EscapesRoot,
}Expand description
Error from resolving a relative import specifier against an importer’s path.
Variants§
EscapesRoot
A .. segment climbed above the package’s root module.
Trait Implementations§
Source§impl Clone for RelativeImportError
impl Clone for RelativeImportError
impl Copy for RelativeImportError
Source§impl Debug for RelativeImportError
impl Debug for RelativeImportError
impl Eq for RelativeImportError
Source§impl PartialEq for RelativeImportError
impl PartialEq for RelativeImportError
impl StructuralPartialEq for RelativeImportError
Auto Trait Implementations§
impl Freeze for RelativeImportError
impl RefUnwindSafe for RelativeImportError
impl Send for RelativeImportError
impl Sync for RelativeImportError
impl Unpin for RelativeImportError
impl UnsafeUnpin for RelativeImportError
impl UnwindSafe for RelativeImportError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.