pub struct WindowsEpochMicroseconds(/* private fields */);Expand description
Represents a time in microseconds since the Windows epoch (1601-01-01 00:00:00 UTC) (used in the chrome cache format).
Trait Implementations§
source§impl Clone for WindowsEpochMicroseconds
impl Clone for WindowsEpochMicroseconds
source§fn clone(&self) -> WindowsEpochMicroseconds
fn clone(&self) -> WindowsEpochMicroseconds
Returns a copy 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 WindowsEpochMicroseconds
impl Debug for WindowsEpochMicroseconds
source§impl From<WindowsEpochMicroseconds> for DateTime<Local>
impl From<WindowsEpochMicroseconds> for DateTime<Local>
source§fn from(micro_seconds: WindowsEpochMicroseconds) -> Self
fn from(micro_seconds: WindowsEpochMicroseconds) -> Self
Converts to this type from the input type.
source§impl From<WindowsEpochMicroseconds> for DateTime<Utc>
impl From<WindowsEpochMicroseconds> for DateTime<Utc>
source§fn from(micro_seconds: WindowsEpochMicroseconds) -> Self
fn from(micro_seconds: WindowsEpochMicroseconds) -> Self
Converts to this type from the input type.
source§impl FromBytes for WindowsEpochMicroseconds
impl FromBytes for WindowsEpochMicroseconds
source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes as a &[Self] with length
equal to count without copying. Read moresource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes as a &[Self] with length
equal to count without copying. Read moresource§impl FromZeroes for WindowsEpochMicrosecondswhere
u64: FromZeroes,
impl FromZeroes for WindowsEpochMicrosecondswhere
u64: FromZeroes,
source§impl Ord for WindowsEpochMicroseconds
impl Ord for WindowsEpochMicroseconds
source§fn cmp(&self, other: &WindowsEpochMicroseconds) -> Ordering
fn cmp(&self, other: &WindowsEpochMicroseconds) -> Ordering
1.21.0 · 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
source§impl PartialEq for WindowsEpochMicroseconds
impl PartialEq for WindowsEpochMicroseconds
source§fn eq(&self, other: &WindowsEpochMicroseconds) -> bool
fn eq(&self, other: &WindowsEpochMicroseconds) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for WindowsEpochMicroseconds
impl PartialOrd for WindowsEpochMicroseconds
source§fn partial_cmp(&self, other: &WindowsEpochMicroseconds) -> Option<Ordering>
fn partial_cmp(&self, other: &WindowsEpochMicroseconds) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for WindowsEpochMicroseconds
impl Eq for WindowsEpochMicroseconds
impl StructuralPartialEq for WindowsEpochMicroseconds
Auto Trait Implementations§
impl Freeze for WindowsEpochMicroseconds
impl RefUnwindSafe for WindowsEpochMicroseconds
impl Send for WindowsEpochMicroseconds
impl Sync for WindowsEpochMicroseconds
impl Unpin for WindowsEpochMicroseconds
impl UnwindSafe for WindowsEpochMicroseconds
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