pub enum ThreadKoidReporterRequest {
ReportMyThreadKoid {
thread_koid: u64,
control_handle: ThreadKoidReporterControlHandle,
},
}
Expand description
Used by report_then_panic_on_start to report its thread koid before crashing, so that anyone using fuchsia.sys2.CrashIntrospect will know what thread koid to look for
Variants§
ReportMyThreadKoid
Reports the koid for this component’s thread
Implementations§
Source§impl ThreadKoidReporterRequest
impl ThreadKoidReporterRequest
pub fn into_report_my_thread_koid( self, ) -> Option<(u64, ThreadKoidReporterControlHandle)>
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 ThreadKoidReporterRequest
impl !RefUnwindSafe for ThreadKoidReporterRequest
impl Send for ThreadKoidReporterRequest
impl Sync for ThreadKoidReporterRequest
impl Unpin for ThreadKoidReporterRequest
impl !UnwindSafe for ThreadKoidReporterRequest
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