Skip to main content

InternalServiceError

Trait InternalServiceError 

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

Required Methods§

Implementations on Foreign Types§

Source§

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

Implementors§