pub struct ExceptionDetails {
pub message: Option<String>,
pub type_name: Option<String>,
pub full_type_name: Option<String>,
pub evaluate_name: Option<String>,
pub stack_trace: Option<String>,
pub inner_exception: Vec<ExceptionDetails>,
/* private fields */
}
Expand description
Detailed information about an exception that has occurred.
Fields§
§message: Option<String>
Message contained in the exception.
type_name: Option<String>
Short type name of the exception object.
full_type_name: Option<String>
Fully-qualified type name of the exception object.
evaluate_name: Option<String>
Optional expression that can be evaluated in the current scope to obtain the exception object.
stack_trace: Option<String>
Stack trace at the time the exception was thrown.
inner_exception: Vec<ExceptionDetails>
Details of the exception contained by this exception, if any.
Implementations§
Source§impl ExceptionDetails
impl ExceptionDetails
Sourcepub fn builder() -> ExceptionDetailsBuilder<((), (), (), (), (), ())>
pub fn builder() -> ExceptionDetailsBuilder<((), (), (), (), (), ())>
Create a builder for building ExceptionDetails
.
On the builder, call .message(...)
(optional), .type_name(...)
(optional), .full_type_name(...)
(optional), .evaluate_name(...)
(optional), .stack_trace(...)
(optional), .inner_exception(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ExceptionDetails
.
Trait Implementations§
Source§impl Clone for ExceptionDetails
impl Clone for ExceptionDetails
Source§fn clone(&self) -> ExceptionDetails
fn clone(&self) -> ExceptionDetails
Returns a copy 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 moreSource§impl Debug for ExceptionDetails
impl Debug for ExceptionDetails
Source§impl<'de> Deserialize<'de> for ExceptionDetails
impl<'de> Deserialize<'de> for ExceptionDetails
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 PartialEq for ExceptionDetails
impl PartialEq for ExceptionDetails
Source§impl Serialize for ExceptionDetails
impl Serialize for ExceptionDetails
impl Eq for ExceptionDetails
impl StructuralPartialEq for ExceptionDetails
Auto Trait Implementations§
impl Freeze for ExceptionDetails
impl RefUnwindSafe for ExceptionDetails
impl Send for ExceptionDetails
impl Sync for ExceptionDetails
impl Unpin for ExceptionDetails
impl UnwindSafe for ExceptionDetails
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,
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.