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§

source

type Error: Error

Error type.

Implementations on Foreign Types§

source§

impl<T> ErrorType for &mut T
where T: ErrorType + ?Sized,

§

type Error = <T as ErrorType>::Error

Implementors§