pub enum CrashIntrospectRequest {
FindComponentByThreadKoid {
thread_koid: u64,
responder: CrashIntrospectFindComponentByThreadKoidResponder,
},
}
Expand description
When a thread from a component using the ELF runner crashes, the thread koid along with other information is stored. This protocol can be used to retrieve that stored information.
Variants§
FindComponentByThreadKoid
Given a thread koid, returns the information that was stored when the ELF runner observed a crash from that thread.
The information for a crash is deleted when it is accessed or when 10 minutes have passed, whichever comes first.
If there is no information available on the given thread koid,
zx::Status::NOT_FOUND
is returned.
Implementations§
Source§impl CrashIntrospectRequest
impl CrashIntrospectRequest
pub fn into_find_component_by_thread_koid( self, ) -> Option<(u64, CrashIntrospectFindComponentByThreadKoidResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrashIntrospectRequest
impl !RefUnwindSafe for CrashIntrospectRequest
impl Send for CrashIntrospectRequest
impl Sync for CrashIntrospectRequest
impl Unpin for CrashIntrospectRequest
impl !UnwindSafe for CrashIntrospectRequest
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