Skip to main content

InternalServerError

Trait InternalServerError 

Source
pub trait InternalServerError<T> {
    // Required method
    fn internal_server_error(self) -> Result<T, (StatusCode, String)>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E: Error> InternalServerError<T> for Result<T, E>

Implementors§