Struct parse_starnix_inspect::CoredumpReport
source · pub struct CoredumpReport {
pub idx: usize,
pub thread_koid: u64,
pub process_koid: u64,
pub pid: i64,
pub argv: String,
}
Fields§
§idx: usize
§thread_koid: u64
§process_koid: u64
§pid: i64
§argv: String
Implementations§
source§impl CoredumpReport
impl CoredumpReport
sourcepub fn extract_from_snapshot(data: &InspectData) -> Option<Vec<Self>>
pub fn extract_from_snapshot(data: &InspectData) -> Option<Vec<Self>>
Returns None
if the snapshot seems partially-written, indicating a retry is warranted.
§Panics
If the snapshot has the same rough structure as Starnix’s inspect output but was incorrectly recorded.
Trait Implementations§
source§impl Debug for CoredumpReport
impl Debug for CoredumpReport
source§impl Ord for CoredumpReport
impl Ord for CoredumpReport
source§fn cmp(&self, other: &CoredumpReport) -> Ordering
fn cmp(&self, other: &CoredumpReport) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CoredumpReport
impl PartialEq for CoredumpReport
source§fn eq(&self, other: &CoredumpReport) -> bool
fn eq(&self, other: &CoredumpReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CoredumpReport
impl PartialOrd for CoredumpReport
source§fn partial_cmp(&self, other: &CoredumpReport) -> Option<Ordering>
fn partial_cmp(&self, other: &CoredumpReport) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CoredumpReport
impl StructuralPartialEq for CoredumpReport
Auto Trait Implementations§
impl Freeze for CoredumpReport
impl RefUnwindSafe for CoredumpReport
impl Send for CoredumpReport
impl Sync for CoredumpReport
impl Unpin for CoredumpReport
impl UnwindSafe for CoredumpReport
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