pub struct ExtractedMember { /* private fields */ }Expand description
Verified output evidence for one extracted regular file.
Implementations§
Source§impl ExtractedMember
impl ExtractedMember
Sourcepub fn source_path(&self) -> &str
pub fn source_path(&self) -> &str
Returns the normalized archive path that supplied these bytes.
Sourcepub fn output_name(&self) -> &str
pub fn output_name(&self) -> &str
Returns the output filename inside the extraction root.
Sourcepub fn path(&self) -> &Path
pub fn path(&self) -> &Path
Returns the local regular-file path.
This pathname is advisory diagnostics only, never staging authority:
a root rename/replacement after extraction can leave it stale or
foreign while the bytes remain in the handle-owned directory. Stage
archive members through BoundMember (see
PersistedExtraction::into_bound_sources) so staged bytes come from
the already-open member object instead of re-resolving this path.
Sourcepub fn bytes_written(&self) -> u64
pub fn bytes_written(&self) -> u64
Returns the exact bytes written and verified.
Trait Implementations§
Source§impl Clone for ExtractedMember
impl Clone for ExtractedMember
Source§impl Debug for ExtractedMember
impl Debug for ExtractedMember
impl Eq for ExtractedMember
Source§impl PartialEq for ExtractedMember
impl PartialEq for ExtractedMember
impl StructuralPartialEq for ExtractedMember
Auto Trait Implementations§
impl Freeze for ExtractedMember
impl RefUnwindSafe for ExtractedMember
impl Send for ExtractedMember
impl Sync for ExtractedMember
impl Unpin for ExtractedMember
impl UnsafeUnpin for ExtractedMember
impl UnwindSafe for ExtractedMember
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.