Struct etrace::WrappedError [−][src]
pub struct WrappedError { pub kind_repr: String, pub description: String, pub file: &'static str, pub line: u32, pub sub_error: Option<Rc<WrappedError>>, }
A generic-error that contains the serialized error-kind, description, the position (file, line) and an optional sub-error
Fields
kind_repr: String
description: String
file: &'static str
line: u32
sub_error: Option<Rc<WrappedError>>
Trait Implementations
impl Debug for WrappedError
[src]
impl Debug for WrappedError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for WrappedError
[src]
impl Clone for WrappedError
fn clone(&self) -> WrappedError
[src]
fn clone(&self) -> WrappedError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Debug + Send> From<Error<T>> for WrappedError
[src]
impl<T: Debug + Send> From<Error<T>> for WrappedError
impl Display for WrappedError
[src]
impl Display for WrappedError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for WrappedError
[src]
impl Error for WrappedError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Send for WrappedError
[src]
impl Send for WrappedError
Auto Trait Implementations
impl !Sync for WrappedError
impl !Sync for WrappedError