ayun_core::traits

Trait ErrorTrait

source
pub trait ErrorTrait {
    // Provided methods
    fn boxed<E>(error: E) -> BoxError
       where E: Error + Send + Sync + 'static { ... }
    fn wrap<E>(error: E) -> AnyError
       where E: Error + Send + Sync + 'static { ... }
}

Provided Methods§

source

fn boxed<E>(error: E) -> BoxError
where E: Error + Send + Sync + 'static,

source

fn wrap<E>(error: E) -> AnyError
where E: Error + Send + Sync + 'static,

Object Safety§

This trait is not object safe.

Implementors§