pub enum CrashReporterRequest {
FileReport {
report: CrashReport,
responder: CrashReporterFileReportResponder,
},
}
Expand description
Provides the ability to file crash reports.
Variants§
FileReport
Files a crash report
and gives the final result of the operation.
This could mean generating a crash report in a local crash report database or uploading the crash report to a remote crash server depending on the FIDL server’s configuration.
Warning: this could potentially take up to several minutes. Calling this function in a synchronous manner is not recommended.
Implementations§
Source§impl CrashReporterRequest
impl CrashReporterRequest
pub fn into_file_report( self, ) -> Option<(CrashReport, CrashReporterFileReportResponder)>
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 CrashReporterRequest
impl !RefUnwindSafe for CrashReporterRequest
impl Send for CrashReporterRequest
impl Sync for CrashReporterRequest
impl Unpin for CrashReporterRequest
impl !UnwindSafe for CrashReporterRequest
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