Skip to main content

Error

Type Alias Error 

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

Any heap-allocated error that can cross thread boundaries.

Using a type alias here (rather than a custom enum) lets Dataset and Collator implementors return any error type they like via ? — no conversion boilerplate required.

Aliased Type§

pub struct Error(/* private fields */);