pub struct ProcEntry<'p> {
pub key: &'p str,
pub value: &'p str,
}
Expand description
a key:value line in the proc/status pseudo-file
key and value fields can be read directly
Fields§
§key: &'p str
§value: &'p str
Implementations§
Auto Trait Implementations§
impl<'p> Freeze for ProcEntry<'p>
impl<'p> RefUnwindSafe for ProcEntry<'p>
impl<'p> Send for ProcEntry<'p>
impl<'p> Sync for ProcEntry<'p>
impl<'p> Unpin for ProcEntry<'p>
impl<'p> UnwindSafe for ProcEntry<'p>
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