Skip to main content

ToHandlerError

Trait ToHandlerError 

Source
pub trait ToHandlerError {
    // Required method
    fn to_handler_error(self) -> HandlerError;
}
Expand description

Internal trait to convert error types into HandlerError.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToHandlerError for &str

Source§

impl ToHandlerError for Error

Source§

impl ToHandlerError for String

Implementors§