pub struct StackTrace {
pub format: String,
pub frames: Vec<StackFrame>,
pub incomplete: bool,
}Fields§
§format: String§frames: Vec<StackFrame>§incomplete: boolImplementations§
Source§impl StackTrace
impl StackTrace
pub fn empty() -> Self
pub fn from_frames(frames: Vec<StackFrame>, incomplete: bool) -> Self
pub fn new_incomplete() -> Self
pub fn missing() -> Self
Source§impl StackTrace
impl StackTrace
pub fn set_complete(&mut self) -> Result<()>
pub fn push_frame(&mut self, frame: StackFrame, incomplete: bool) -> Result<()>
pub fn demangle_names(&mut self) -> Result<()>
Source§impl StackTrace
impl StackTrace
pub fn normalize_ips( &mut self, normalizer: &Normalizer, pid: Pid, elf_resolvers: &mut CachedElfResolvers<'_>, ) -> Result<()>
pub fn resolve_names( &mut self, src: &Source<'_>, symbolizer: &Symbolizer, ) -> Result<()>
Trait Implementations§
Source§impl Clone for StackTrace
impl Clone for StackTrace
Source§fn clone(&self) -> StackTrace
fn clone(&self) -> StackTrace
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 moreSource§impl Debug for StackTrace
impl Debug for StackTrace
Source§impl Default for StackTrace
impl Default for StackTrace
Source§impl<'de> Deserialize<'de> for StackTrace
impl<'de> Deserialize<'de> for StackTrace
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
Source§impl JsonSchema for StackTrace
impl JsonSchema for StackTrace
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for StackTrace
impl PartialEq for StackTrace
Source§impl Serialize for StackTrace
impl Serialize for StackTrace
impl StructuralPartialEq for StackTrace
Auto Trait Implementations§
impl Freeze for StackTrace
impl RefUnwindSafe for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Unpin for StackTrace
impl UnsafeUnpin for StackTrace
impl UnwindSafe for StackTrace
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