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).
Implementations§
Source§impl WindowsEpochMicroseconds
impl WindowsEpochMicroseconds
pub fn into_datetime_utc(self) -> CCPResult<DateTime<Utc>>
pub fn into_datetime_local(self) -> CCPResult<DateTime<Local>>
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 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§impl PartialOrd for WindowsEpochMicroseconds
impl PartialOrd for WindowsEpochMicroseconds
impl 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