pub enum KstatNamedData {
DataChar(i8),
DataInt32(i32),
DataUInt32(u32),
DataInt64(i64),
DataUInt64(u64),
DataString(String),
}
Expand description
The types of data a kstat named/value pair can contain
Variants§
DataChar(i8)
KSTAT_DATA_CHAR
DataInt32(i32)
KSTAT_DATA_INT32
DataUInt32(u32)
KSTAT_DATA_UINT32
DataInt64(i64)
KSTAT_DATA_INT64 or KSTAT_DATA_LONG
DataUInt64(u64)
KSTAT_DATA_UINT64 or KSTAT_DATA_ULONG
DataString(String)
KSTAT_DATA_STRING
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KstatNamedData
impl RefUnwindSafe for KstatNamedData
impl Send for KstatNamedData
impl Sync for KstatNamedData
impl Unpin for KstatNamedData
impl UnwindSafe for KstatNamedData
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