pub enum Resolution {
Resolved(Vec<String>),
External(String),
Builtin,
Unresolved(String),
}Expand description
Where a runtime import leads.
Variants§
Resolved(Vec<String>)
The import names one or more files of the repository, relative to the root, with forward slashes. An empty list is a Plugin error.
External(String)
The import names a third-party package outside the repository; the payload is the canonical package name.
Builtin
The import names a standard-library or runtime built-in module.
Unresolved(String)
The import should name a file of the repository, but none matches; the payload says why.
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§impl Debug for Resolution
impl Debug for Resolution
impl Eq for Resolution
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Forget for Resolution
impl Freeze for Resolution
impl Move for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolutionwhere
RawVecInner: Send,
impl Sync for Resolutionwhere
RawVecInner: Sync,
impl Unpin for Resolution
impl UnsafeUnpin for Resolutionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Resolutionwhere
RawVecInner: UnwindSafe,
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