#[non_exhaustive]pub enum TimeZonePolicy {
Utc,
LocalUnknown,
Local {
minutes_east: i16,
},
}Expand description
How a volume’s timestamps are anchored. FAT/exFAT are volume-local, so a UTC assumption shifts every MAC time.
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.
Trait Implementations§
Source§impl Clone for TimeZonePolicy
impl Clone for TimeZonePolicy
Source§fn clone(&self) -> TimeZonePolicy
fn clone(&self) -> TimeZonePolicy
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 TimeZonePolicy
Source§impl Debug for TimeZonePolicy
impl Debug for TimeZonePolicy
impl Eq for TimeZonePolicy
Source§impl PartialEq for TimeZonePolicy
impl PartialEq for TimeZonePolicy
impl StructuralPartialEq for TimeZonePolicy
Auto Trait Implementations§
impl Freeze for TimeZonePolicy
impl RefUnwindSafe for TimeZonePolicy
impl Send for TimeZonePolicy
impl Sync for TimeZonePolicy
impl Unpin for TimeZonePolicy
impl UnsafeUnpin for TimeZonePolicy
impl UnwindSafe for TimeZonePolicy
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