Type Alias zebrad::BoxError

source ·
pub type BoxError = Box<dyn Error + Send + Sync + 'static>;
Expand description

Error type alias to make working with tower traits easier.

Note: the ’static lifetime bound means that the type cannot have any non-’static lifetimes, (e.g., when a type contains a borrow and is parameterized by ’a), not that the object itself has ’static lifetime.

Aliased Type§

struct BoxError(Unique<dyn Error + Sync + Send>, Global);


§0: Unique<dyn Error + Sync + Send>§1: Global