pub struct ManifestEntry { /* private fields */ }Expand description
Metadata needed to stream a payload file later without keeping it open.
Implementations§
Source§impl ManifestEntry
impl ManifestEntry
Sourcepub fn source_path(&self) -> &Path
pub fn source_path(&self) -> &Path
Returns the source filesystem path.
Sourcepub fn torrent_path(&self) -> &[Vec<u8>]
pub fn torrent_path(&self) -> &[Vec<u8>]
Returns raw torrent-relative path components.
Sourcepub const fn modified(&self) -> Option<SystemTime>
pub const fn modified(&self) -> Option<SystemTime>
Returns the snapshotted modification time when available.
Trait Implementations§
Source§impl Clone for ManifestEntry
impl Clone for ManifestEntry
Source§fn clone(&self) -> ManifestEntry
fn clone(&self) -> ManifestEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManifestEntry
impl Debug for ManifestEntry
Source§impl PartialEq for ManifestEntry
impl PartialEq for ManifestEntry
impl Eq for ManifestEntry
impl StructuralPartialEq for ManifestEntry
Auto Trait Implementations§
impl Freeze for ManifestEntry
impl RefUnwindSafe for ManifestEntry
impl Send for ManifestEntry
impl Sync for ManifestEntry
impl Unpin for ManifestEntry
impl UnwindSafe for ManifestEntry
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