pub enum StatValue {
Bool(bool),
Int32(i32),
UInt32(u32),
Int64(i64),
UInt64(u64),
Time(u64),
Size(u64),
String(String),
Unknown {
type_code: u32,
raw: u64,
},
}Variants§
Bool(bool)
Int32(i32)
UInt32(u32)
Int64(i64)
UInt64(u64)
Time(u64)
A time value in nanoseconds.
Size(u64)
A size value in bytes.
String(String)
Unknown
A stat type not recognized by this crate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatValue
impl RefUnwindSafe for StatValue
impl Send for StatValue
impl Sync for StatValue
impl Unpin for StatValue
impl UnsafeUnpin for StatValue
impl UnwindSafe for StatValue
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