Struct minidump::MinidumpLinuxProcStatus
source · pub struct MinidumpLinuxProcStatus<'a> { /* private fields */ }
Expand description
Interesting values extracted from /proc/self/status
Implementations§
source§impl<'a> MinidumpLinuxProcStatus<'a>
impl<'a> MinidumpLinuxProcStatus<'a>
sourcepub fn iter(&self) -> impl Iterator<Item = (&'a LinuxOsStr, &'a LinuxOsStr)>
pub fn iter(&self) -> impl Iterator<Item = (&'a LinuxOsStr, &'a LinuxOsStr)>
Get an iterator over the key-value pairs stored in the /proc/self/status
dump.
Keys and values are trim
ed of leading/trailing spaces, and if a key
or value was surrounded by quotes (“like this”), the quotes will be
stripped.
Trait Implementations§
source§impl<'a> Debug for MinidumpLinuxProcStatus<'a>
impl<'a> Debug for MinidumpLinuxProcStatus<'a>
source§impl<'a> Default for MinidumpLinuxProcStatus<'a>
impl<'a> Default for MinidumpLinuxProcStatus<'a>
source§fn default() -> MinidumpLinuxProcStatus<'a>
fn default() -> MinidumpLinuxProcStatus<'a>
Returns the “default value” for a type. Read more
source§impl<'a> MinidumpStream<'a> for MinidumpLinuxProcStatus<'a>
impl<'a> MinidumpStream<'a> for MinidumpLinuxProcStatus<'a>
source§const STREAM_TYPE: u32 = 1_197_932_548u32
const STREAM_TYPE: u32 = 1_197_932_548u32
The stream type constant used in the
md::MDRawDirectory
entry.
This is usually a MINIDUMP_STREAM_TYPE but it’s left as a u32
to allow external projects to add support for their own custom streams.Auto Trait Implementations§
impl<'a> RefUnwindSafe for MinidumpLinuxProcStatus<'a>
impl<'a> Send for MinidumpLinuxProcStatus<'a>
impl<'a> Sync for MinidumpLinuxProcStatus<'a>
impl<'a> Unpin for MinidumpLinuxProcStatus<'a>
impl<'a> UnwindSafe for MinidumpLinuxProcStatus<'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