Function actix_web::error::ErrorUpgradeRequired[][src]

pub fn ErrorUpgradeRequired<T>(err: T) -> Error where
    T: Debug + Display + 'static, 

Helper function that wraps any error and generates a UPGRADE_REQUIRED response.