pub struct CoredumpReport {
pub idx: usize,
pub thread_koid: u64,
pub process_koid: u64,
pub pid: i64,
pub argv: String,
pub thread_name: String,
pub uptime: i64,
pub signal: String,
}
Fields§
§idx: usize
§thread_koid: u64
§process_koid: u64
§pid: i64
§argv: String
§thread_name: String
§uptime: i64
§signal: 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§impl PartialOrd for CoredumpReport
impl PartialOrd for CoredumpReport
impl 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