Trait erdp::ErrorDisplay

source ·
pub trait ErrorDisplay {
    // Required method
    fn display(&self) -> Display<'_>;
}
Expand description

Provides a method to get a Display.

This trait is automatically implemented for any type that implement std::error::Error.

Required Methods§

source

fn display(&self) -> Display<'_>

Returns a Display to display the current error and its nested errors.

Implementors§