Trait sc_service::IntoPoolError

source ·
pub trait IntoPoolError: Sized + Error + Send + 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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoPoolError for Error

Implementors§

source§

impl IntoPoolError for sc_transaction_pool_api::error::Error