pub enum CrashSendStyle {
SendImmediately,
SendNextSession,
}Expand description
Determines how crashes are sent to Sentry after they have been captured.
Variants§
SendImmediately
Attempts to send crash envelopes immediately, in the same session that crashed, which may be unreliable depending on the overall state of the session. Use with care.
SendNextSession
Serializes the envelope to disk instead of forwarding it to the final
Transport, initializing the BreakpadIntegration with the same path
for crashes will send any existing crashes from previous sessions.
Trait Implementations§
Source§impl Clone for CrashSendStyle
impl Clone for CrashSendStyle
Source§fn clone(&self) -> CrashSendStyle
fn clone(&self) -> CrashSendStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CrashSendStyle
Auto Trait Implementations§
impl Freeze for CrashSendStyle
impl RefUnwindSafe for CrashSendStyle
impl Send for CrashSendStyle
impl Sync for CrashSendStyle
impl Unpin for CrashSendStyle
impl UnwindSafe for CrashSendStyle
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