#[non_exhaustive]pub enum TimeSource {
Si,
Fn,
InodeTable,
DirEntry,
Unspecified,
}Expand description
Where a timestamp came from — an NTFS $STANDARD_INFORMATION time and a
$FILE_NAME time disagreeing is a tamper signal, so the source is preserved.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Si
NTFS $STANDARD_INFORMATION.
Fn
NTFS $FILE_NAME.
InodeTable
A Unix inode table (ext/APFS).
DirEntry
A directory entry (FAT/exFAT).
Unspecified
Source not distinguished by the reader.
Trait Implementations§
Source§impl Clone for TimeSource
impl Clone for TimeSource
Source§fn clone(&self) -> TimeSource
fn clone(&self) -> TimeSource
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 TimeSource
Source§impl Debug for TimeSource
impl Debug for TimeSource
impl Eq for TimeSource
Source§impl PartialEq for TimeSource
impl PartialEq for TimeSource
impl StructuralPartialEq for TimeSource
Auto Trait Implementations§
impl Freeze for TimeSource
impl RefUnwindSafe for TimeSource
impl Send for TimeSource
impl Sync for TimeSource
impl Unpin for TimeSource
impl UnsafeUnpin for TimeSource
impl UnwindSafe for TimeSource
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