Struct specs::error::BoxedErr
[−]
[src]
pub struct BoxedErr(pub Box<StdError + Send + Sync + 'static>);
A boxed error implementing Debug
, Display
and Error
.
Methods
impl BoxedErr
[src]
pub fn new<T>(err: T) -> Self where
T: StdError + Send + Sync + 'static,
[src]
T: StdError + Send + Sync + 'static,
Creates a new boxed error.
Trait Implementations
impl AsRef<StdError> for BoxedErr
[src]
impl Debug for BoxedErr
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
Formats the value using the given formatter. Read more
impl Display for BoxedErr
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
Formats the value using the given formatter. Read more