tx_indexer::error

Trait ErrorPolicyProvider

Source
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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§