embedded_hal_async::spi

Trait ErrorType

Source
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,

Implementors§

impl<'d, DEVICE, DRIVER> ErrorType for SpiSoftCsDeviceDriver<'d, DEVICE, DRIVER>
where DEVICE: Borrow<SpiSharedDeviceDriver<'d, DRIVER>> + 'd, DRIVER: Borrow<SpiDriver<'d>> + 'd,

impl<'d, T> ErrorType for SpiBusDriver<'d, T>
where T: BorrowMut<SpiDriver<'d>>,

impl<'d, T> ErrorType for SpiDeviceDriver<'d, T>
where T: Borrow<SpiDriver<'d>> + 'd,