pub trait IntoHandlerError
where Self: Sized + Send + Sync + 'static,
{ // Provided method fn into_handler_error(self) -> HandlerError { ... } }
Expand description

A trait with a default implementation that converts any application error into a RpcHandlerError. This allows the application code to query and extract the specified application error.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoHandlerError for &'static str

source§

impl IntoHandlerError for Value

source§

impl IntoHandlerError for String

Implementors§