Trait ErrorType

Source
pub trait ErrorType {
    type Error: Error;
}
Expand description

Error type trait.

This just defines the error type, to be used by the other traits.

Required Associated Types§

Source

type Error: Error

Error type

Implementations on Foreign Types§

Source§

impl<T: ErrorType + ?Sized> ErrorType for &T

Source§

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

Implementors§

impl<CSPIN: PinOps> ErrorType for ChipSelectPin<CSPIN>

impl<PIN: PinOps> ErrorType for Pin<OpenDrain, PIN>

impl<PIN: PinOps> ErrorType for Pin<Output, PIN>

impl<PIN: PinOps, IMODE: InputMode> ErrorType for Pin<Input<IMODE>, PIN>