pub enum UnresolvedReason {
NotFound,
Invalid,
Unsupported,
NoHostLocation,
NestedArchive,
Denied,
}Expand description
Why a link didn’t resolve.
Variants§
NotFound
Nothing exists at the target.
Invalid
The link is malformed: an absolute path, a backslash, a bad
percent-escape, or .. above an archive’s root.
Unsupported
The host doesn’t support this kind of link (Sections 9.4, 9.5).
NoHostLocation
The archive has no location on a host, so links can’t leave it.
NestedArchive
The link goes into an archive inside another archive.
Denied
The target is outside the trust boundary, or an embed would load a resource from outside the archive (Section 9.6).
Implementations§
Trait Implementations§
Source§impl Clone for UnresolvedReason
impl Clone for UnresolvedReason
impl Copy for UnresolvedReason
Source§impl Debug for UnresolvedReason
impl Debug for UnresolvedReason
Source§impl Display for UnresolvedReason
impl Display for UnresolvedReason
impl Eq for UnresolvedReason
Source§impl PartialEq for UnresolvedReason
impl PartialEq for UnresolvedReason
impl StructuralPartialEq for UnresolvedReason
Auto Trait Implementations§
impl Freeze for UnresolvedReason
impl RefUnwindSafe for UnresolvedReason
impl Send for UnresolvedReason
impl Sync for UnresolvedReason
impl Unpin for UnresolvedReason
impl UnsafeUnpin for UnresolvedReason
impl UnwindSafe for UnresolvedReason
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.