Struct app_center::AppCenter [−][src]
pub struct AppCenter { /* fields omitted */ }
Implementations
impl AppCenter
[src]
impl AppCenter
[src]pub fn set_report_callback<T>(&self, callback: T) where
T: Fn(&mut AppCenterLogs<'_>) + Send + Sync + 'static,
[src]
T: Fn(&mut AppCenterLogs<'_>) + Send + Sync + 'static,
Install an optonal callback to be executed just before the report is sent
usually this is the place to add any atachements to the report using
add_binary_attachement
or add_text_attachement
pub fn set_user_id<S: Into<String>>(&self, id: Option<S>)
[src]
Associate the report with a specific user ID
pub fn start<S: Into<String>>(app_secret: S, app_version: &'static str) -> Self
[src]
Install the custom panic hook that will attempt to upload panic stacktraces to appcenter using the provided app secret and application version. After the report is sent, the original panic hook is executed.
Auto Trait Implementations
impl RefUnwindSafe for AppCenter
impl RefUnwindSafe for AppCenter
impl UnwindSafe for AppCenter
impl UnwindSafe for AppCenter
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]