pub trait ViaError<E> {
    // Required method
    fn to_server_error(&self) -> ServerFnError<E>;
}
Expand description

This trait serves as the conversion method between a variety of types and ServerFnError.

Required Methods§

Source

fn to_server_error(&self) -> ServerFnError<E>

Converts something into an error.

Implementors§

Source§

impl ViaError<NoCustomError> for &&&WrapError<()>

Source§

impl<E> ViaError<E> for &&&&WrapError<ServerFnError<E>>
where E: ServerFnErrorKind + Error + Clone,

Source§

impl<E> ViaError<E> for &&WrapError<E>
where E: Error + Clone,

Source§

impl<E> ViaError<E> for &WrapError<E>
where E: Display + Clone,

Source§

impl<E> ViaError<E> for WrapError<E>