pub enum NumLog {
None,
S(&'static str),
I(i64),
F(f64),
Str(LogStr),
Dur(Duration),
Time(NaiveTime),
}Expand description
Enum representing different types of log values 表示不同类型日志值的枚举
Variants§
Implementations§
Trait Implementations§
Source§impl IntoNumLog for NumLog
impl IntoNumLog for NumLog
fn into_num_log(self) -> NumLog
impl Copy for NumLog
impl StructuralPartialEq for NumLog
Auto Trait Implementations§
impl Freeze for NumLog
impl RefUnwindSafe for NumLog
impl Send for NumLog
impl Sync for NumLog
impl Unpin for NumLog
impl UnwindSafe for NumLog
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)