pub struct PrettyBacktrace { /* private fields */ }Expand description
A backtrace with file and line information. This is more heavy-weight than a normal backtrace.
Implementations§
Source§impl PrettyBacktrace
impl PrettyBacktrace
Sourcepub fn iter(&self) -> impl Iterator<Item = &PrettyFrame>
pub fn iter(&self) -> impl Iterator<Item = &PrettyFrame>
Returns an iterator over the frames in the backtrace.
Sourcepub fn thread_name(&self) -> Option<String>
pub fn thread_name(&self) -> Option<String>
Returns the name of the thread for this backtrace.
Trait Implementations§
Source§impl Clone for PrettyBacktrace
impl Clone for PrettyBacktrace
Source§impl Debug for PrettyBacktrace
impl Debug for PrettyBacktrace
Source§impl<'de> Deserialize<'de> for PrettyBacktrace
impl<'de> Deserialize<'de> for PrettyBacktrace
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 Display for PrettyBacktrace
impl Display for PrettyBacktrace
impl Eq for PrettyBacktrace
Source§impl Hash for PrettyBacktrace
impl Hash for PrettyBacktrace
Source§impl IntoIterator for PrettyBacktrace
impl IntoIterator for PrettyBacktrace
Source§impl PartialEq for PrettyBacktrace
impl PartialEq for PrettyBacktrace
Source§impl Serialize for PrettyBacktrace
impl Serialize for PrettyBacktrace
impl StructuralPartialEq for PrettyBacktrace
Auto Trait Implementations§
impl Freeze for PrettyBacktrace
impl RefUnwindSafe for PrettyBacktrace
impl Send for PrettyBacktrace
impl Sync for PrettyBacktrace
impl Unpin for PrettyBacktrace
impl UnsafeUnpin for PrettyBacktrace
impl UnwindSafe for PrettyBacktrace
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.