#[repr(C)]pub enum StacktraceCollection {
Disabled = 0,
WithoutSymbols = 1,
EnabledWithInprocessSymbols = 2,
EnabledWithSymbolsInReceiver = 3,
}Expand description
Stacktrace collection occurs in the context of a crashing process. If the stack is sufficiently corruputed, it is possible (but unlikely), for stack trace collection itself to crash. We recommend fully enabling stacktrace collection, but having an environment variable to allow downgrading the collector.
Variants§
Disabled = 0
Stacktrace collection occurs in the
WithoutSymbols = 1
EnabledWithInprocessSymbols = 2
This option uses backtrace::resolve_frame_unsynchronized() to gather symbol information
and also unwind inlined functions. Enabling this feature will not only provide symbolic
details, but may also yield additional or less stack frames compared to other
configurations.
EnabledWithSymbolsInReceiver = 3
Trait Implementations§
Source§impl Clone for StacktraceCollection
impl Clone for StacktraceCollection
Source§fn clone(&self) -> StacktraceCollection
fn clone(&self) -> StacktraceCollection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StacktraceCollection
Source§impl Debug for StacktraceCollection
impl Debug for StacktraceCollection
Source§impl<'de> Deserialize<'de> for StacktraceCollection
impl<'de> Deserialize<'de> for StacktraceCollection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StacktraceCollection
Source§impl PartialEq for StacktraceCollection
impl PartialEq for StacktraceCollection
Source§fn eq(&self, other: &StacktraceCollection) -> bool
fn eq(&self, other: &StacktraceCollection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StacktraceCollection
impl Serialize for StacktraceCollection
impl StructuralPartialEq for StacktraceCollection
Auto Trait Implementations§
impl Freeze for StacktraceCollection
impl RefUnwindSafe for StacktraceCollection
impl Send for StacktraceCollection
impl Sync for StacktraceCollection
impl Unpin for StacktraceCollection
impl UnsafeUnpin for StacktraceCollection
impl UnwindSafe for StacktraceCollection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.