pub enum NamedData<'a> {
Char(&'a [u8]),
Int32(i32),
UInt32(u32),
Int64(i64),
UInt64(u64),
String(&'a str),
}
Expand description
The value part of a name-value kernel statistic.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NamedData<'a>
impl<'a> RefUnwindSafe for NamedData<'a>
impl<'a> Send for NamedData<'a>
impl<'a> Sync for NamedData<'a>
impl<'a> Unpin for NamedData<'a>
impl<'a> UnwindSafe for NamedData<'a>
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