Struct sentry::protocol::Stacktrace
[−]
[src]
pub struct Stacktrace { pub frames: Vec<Frame>, pub frames_omitted: Option<(u64, u64)>, }
Represents a stacktrace.
Fields
frames: Vec<Frame>
The list of frames in the stacktrace.
frames_omitted: Option<(u64, u64)>
Optionally a segment of frames removed (start
, end
)
Methods
impl Stacktrace
[src]
pub fn from_frames_reversed(frames: Vec<Frame>) -> Option<Stacktrace>
[src]
Optionally creates a stacktrace from a list of stack frames.
Trait Implementations
impl PartialEq<Stacktrace> for Stacktrace
[src]
fn eq(&self, __arg_0: &Stacktrace) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Stacktrace) -> bool
[src]
This method tests for !=
.
impl<'de> Deserialize<'de> for Stacktrace
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Stacktrace, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Stacktrace, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for Stacktrace
[src]
fn clone(&self) -> Stacktrace
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Serialize for Stacktrace
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Debug for Stacktrace
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Default for Stacktrace
[src]
fn default() -> Stacktrace
[src]
Returns the "default value" for a type. Read more