Struct minidump::MinidumpLinuxLsbRelease
source · pub struct MinidumpLinuxLsbRelease<'a> { /* private fields */ }
Expand description
Interesting values extracted from /etc/lsb-release
Implementations§
source§impl<'a> MinidumpLinuxLsbRelease<'a>
impl<'a> MinidumpLinuxLsbRelease<'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 /etc/lsb-release
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 MinidumpLinuxLsbRelease<'a>
impl<'a> Debug for MinidumpLinuxLsbRelease<'a>
source§impl<'a> Default for MinidumpLinuxLsbRelease<'a>
impl<'a> Default for MinidumpLinuxLsbRelease<'a>
source§fn default() -> MinidumpLinuxLsbRelease<'a>
fn default() -> MinidumpLinuxLsbRelease<'a>
Returns the “default value” for a type. Read more
source§impl<'a> MinidumpStream<'a> for MinidumpLinuxLsbRelease<'a>
impl<'a> MinidumpStream<'a> for MinidumpLinuxLsbRelease<'a>
source§const STREAM_TYPE: u32 = 1_197_932_549u32
const STREAM_TYPE: u32 = 1_197_932_549u32
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. Read more