Skip to main content

ModuleErrorMetadata

Trait ModuleErrorMetadata 

Source
pub trait ModuleErrorMetadata {
    // Required method
    fn metadata() -> &'static [ErrorMetadata];
}
Expand description

All the metadata about errors in a module.

Required Methods§

Source

fn metadata() -> &'static [ErrorMetadata]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ModuleErrorMetadata for &'static str

Source§

fn metadata() -> &'static [ErrorMetadata]

Implementors§