Skip to main content

AnyError

Trait AnyError 

Source
pub trait AnyError:
    Error
    + Send
    + Sync
    + 'static { }
Expand description

A type that implements Error and is threadsafe.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> AnyError for T
where T: Error + Send + Sync + 'static,