pub struct BreakpadIntegration { /* private fields */ }Expand description
Monitors the current process for crashes, writing them to disk as minidumps and reporting the crash event to Sentry.
Implementations§
Source§impl BreakpadIntegration
impl BreakpadIntegration
Sourcepub fn new(
crash_dir: impl AsRef<Path>,
install_options: InstallOptions,
hub: Arc<Hub>,
) -> Result<Self, Error>
pub fn new( crash_dir: impl AsRef<Path>, install_options: InstallOptions, hub: Arc<Hub>, ) -> Result<Self, Error>
Creates a new Breakpad Integration, note that only one can exist in the application at a time!
pub fn inner_handler(&self) -> &Option<BreakpadHandler>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BreakpadIntegration
impl RefUnwindSafe for BreakpadIntegration
impl Send for BreakpadIntegration
impl Sync for BreakpadIntegration
impl Unpin for BreakpadIntegration
impl UnwindSafe for BreakpadIntegration
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