pub trait ErrorType {
type Error: Error;
}Expand description
SPI error type trait.
This just defines the error type, to be used by the other SPI traits.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".