pub enum Target<'uri> {
SameDocument(Part),
Root(Part),
Member {
name: MemberName<'uri>,
part: Part,
},
Negative(Negative),
}Expand description
A lexical reference after package resolution. Exact lookup may still find zero or several original members; this value never chooses a duplicate.
Variants§
SameDocument(Part)
A path-empty reference selects its original containing document.
Root(Part)
The package root, which is not an empty-name member.
Member
A complete exact ZIP filename with independently retained capacity.
Fields
§
name: MemberName<'uri>ZIP bytes after exactly one URI decoding, without case folding.
Negative(Negative)
A completed negative outcome, never a resource refusal or missing entry.
Trait Implementations§
Auto Trait Implementations§
impl<'uri> !Freeze for Target<'uri>
impl<'uri> RefUnwindSafe for Target<'uri>
impl<'uri> Send for Target<'uri>
impl<'uri> Sync for Target<'uri>
impl<'uri> Unpin for Target<'uri>
impl<'uri> UnsafeUnpin for Target<'uri>
impl<'uri> UnwindSafe for Target<'uri>
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