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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ModuleErrorMetadata for &'static str

Source§

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

Implementors§