sc_transaction_pool_api::error

Trait IntoPoolError

Source
pub trait IntoPoolError:
    Error
    + Send
    + Sized
    + Sync {
    // Provided method
    fn into_pool_error(self) -> Result<Error, Self> { ... }
}
Expand description

Transaction pool error conversion.

Provided Methods§

Source

fn into_pool_error(self) -> Result<Error, Self>

Try to extract original Error

This implementation is optional and used only to provide more descriptive error messages for end users of RPC API.

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§