Skip to main content

ErrorBounds

Trait ErrorBounds 

Source
pub trait ErrorBounds:
    Display
    + Send
    + Sync
    + 'static
    + Debug { }
Expand description

Provides a common way to specify the bounds errors are expected to meet

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: Display + Send + Sync + 'static + Debug> ErrorBounds for T