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§
Sourcefn to_server_error(&self) -> ServerFnError<E>
fn to_server_error(&self) -> ServerFnError<E>
Converts something into an error.