Trait embedded_hal::digital::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> ErrorType for &T

§

type Error = <T as ErrorType>::Error

source§

impl<T: ErrorType> ErrorType for &mut T

§

type Error = <T as ErrorType>::Error

Implementors§