pub trait EmbeddingError:
Error
+ Send
+ Sync
+ 'static { }Expand description
Marker trait that every EmbeddingProvider::Error must satisfy.
Equivalent to std::error::Error + Send + Sync + 'static, written as its
own trait so it is searchable, a single place to add cross-backend
extension methods later, and a sticky name in error messages.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".