pub struct FileIdentity {
pub volume_serial: u64,
pub file_id: [u8; 16],
}Expand description
Stable filesystem identity suitable for Windows and Unix filesystems.
Fields§
§volume_serial: u64Native volume/device identity.
file_id: [u8; 16]Full native file identity (128-bit on Windows; zero-extended inode on Unix).
Trait Implementations§
Source§impl Clone for FileIdentity
impl Clone for FileIdentity
impl Copy for FileIdentity
Source§impl Debug for FileIdentity
impl Debug for FileIdentity
impl Eq for FileIdentity
Source§impl PartialEq for FileIdentity
impl PartialEq for FileIdentity
impl StructuralPartialEq for FileIdentity
Auto Trait Implementations§
impl Freeze for FileIdentity
impl RefUnwindSafe for FileIdentity
impl Send for FileIdentity
impl Sync for FileIdentity
impl Unpin for FileIdentity
impl UnsafeUnpin for FileIdentity
impl UnwindSafe for FileIdentity
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