pub struct PlatformFileId {
pub high: u64,
pub low: u64,
}Expand description
Platform-specific identity of a host filesystem node.
Unix implementations encode device and inode; Windows implementations encode the volume and file identity. Keeping two opaque words avoids host paths in receipts.
Fields§
§high: u64Platform-defined high word (for example, Unix device ID).
low: u64Platform-defined low word (for example, Unix inode ID).
Trait Implementations§
Source§impl Clone for PlatformFileId
impl Clone for PlatformFileId
Source§fn clone(&self) -> PlatformFileId
fn clone(&self) -> PlatformFileId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlatformFileId
Source§impl Debug for PlatformFileId
impl Debug for PlatformFileId
impl Eq for PlatformFileId
Source§impl Hash for PlatformFileId
impl Hash for PlatformFileId
Source§impl Ord for PlatformFileId
impl Ord for PlatformFileId
Source§fn cmp(&self, other: &PlatformFileId) -> Ordering
fn cmp(&self, other: &PlatformFileId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PlatformFileId
impl PartialEq for PlatformFileId
Source§impl PartialOrd for PlatformFileId
impl PartialOrd for PlatformFileId
impl StructuralPartialEq for PlatformFileId
Auto Trait Implementations§
impl Freeze for PlatformFileId
impl RefUnwindSafe for PlatformFileId
impl Send for PlatformFileId
impl Sync for PlatformFileId
impl Unpin for PlatformFileId
impl UnsafeUnpin for PlatformFileId
impl UnwindSafe for PlatformFileId
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