pub enum Resolution {
External,
Unresolvable(&'static str),
File(String),
Directory(String),
}Expand description
How an entry’s link destination resolves.
Variants§
External
External URL / URI scheme: ignored.
Unresolvable(&'static str)
Cannot be resolved (empty, absolute, escapes repo, outside root, self or ancestor directory); the reason is used as the finding detail.
File(String)
Repo-relative file path (may not exist).
Directory(String)
Repo-relative directory whose index.md is the target.
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 Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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§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.