Enum internal_tracing::TimeInput
source · pub enum TimeInput {
Microseconds(u64),
SystemTime(SystemTime),
}
Variants§
Microseconds(u64)
SystemTime(SystemTime)
Implementations§
Trait Implementations§
source§impl From<SystemTime> for TimeInput
impl From<SystemTime> for TimeInput
source§fn from(value: SystemTime) -> Self
fn from(value: SystemTime) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TimeInput
impl Send for TimeInput
impl Sync for TimeInput
impl Unpin for TimeInput
impl UnwindSafe for TimeInput
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