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