pub enum CrashReporterRequest {
File {
report: CrashReport,
responder: CrashReporterFileResponder,
},
FileReport {
report: CrashReport,
responder: CrashReporterFileReportResponder,
},
}
Expand description
Provides the ability to file crash reports.
Variants§
File
Files a crash report
.
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.
Deprecation
This method returns an immediate acknowledgement that the request was received. In practice this acknowledgement isn’t used and only returns an error if the program name is blank. By F12, FileReport should be used instead. FileReport will provide a useful status once the report has been successfully or unsuccessfully filed.
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(self) -> Option<(CrashReport, CrashReporterFileResponder)>
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