Function actix_web::error::ErrorUnavailableForLegalReasons
source · pub fn ErrorUnavailableForLegalReasons<T>(err: T) -> ErrorExpand description
Helper function that wraps any error and generates a UNAVAILABLE_FOR_LEGAL_REASONS response.