pub trait ErrorPolicyProvider
where Self: Sized,
{ // Required method fn get_error_policy(&self) -> ErrorPolicy<Self>; }
Expand description

Trait that can be implemented for custom error types. Different variants in said error types can then be given different ErrorPolicy assignments.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§