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: StringImplementations§
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more