Skip to main content

FlatError

Trait FlatError 

Source
pub trait FlatError {
    // Required method
    fn error_variant(&self) -> &'static str;
}

Required Methods§

Source

fn error_variant(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§