pub trait Apiv2Errors {
const ERROR_MAP: &'static [(u16, &'static str)] = _;
// Provided methods
fn update_error_definitions(_op: &mut DefaultOperationRaw) { ... }
fn update_definitions(_map: &mut BTreeMap<String, DefaultSchemaRaw>) { ... }
}
Expand description
Represents a OpenAPI v2 error convertible. This is auto-implemented by framework-specific macros:
Provided Associated Constants§
Provided Methods§
fn update_error_definitions(_op: &mut DefaultOperationRaw)
fn update_definitions(_map: &mut BTreeMap<String, DefaultSchemaRaw>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.