pub trait ResponseProtocol: Protocol {
// Required method
fn response_severity(&self, status_key: &str) -> ResponseSeverity;
}Expand description
Response outcome mapping.
Required Methods§
Sourcefn response_severity(&self, status_key: &str) -> ResponseSeverity
fn response_severity(&self, status_key: &str) -> ResponseSeverity
Map a family-specific status key to ResponseSeverity.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".