Reset

Trait Reset 

Source
pub trait Reset<ERROR> {
    type DisplayOut;

    // Required method
    async fn reset(self) -> Result<Self::DisplayOut, ERROR>;
}
Expand description

Displays that have a hardware reset.

Required Associated Types§

Required Methods§

Source

async fn reset(self) -> Result<Self::DisplayOut, ERROR>

Hardware resets the display.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<HW, STATE> Reset<<HW as ErrorHw>::Error> for Epd2In9<HW, STATE>
where HW: ResetHw + DelayHw + ErrorHw, HW::Error: From<<HW::Reset as ErrorType>::Error>, STATE: StateAwake,

Source§

type DisplayOut = Epd2In9<HW, STATE>

Source§

impl<HW, STATE: StateAwake> Reset<<HW as ErrorHw>::Error> for Epd2In9V2<HW, STATE>
where HW: ResetHw + DelayHw + ErrorHw, HW::Error: From<<HW::Reset as ErrorType>::Error>,

Source§

type DisplayOut = Epd2In9V2<HW, STATE>

Source§

impl<HW, W> Reset<<HW as ErrorHw>::Error> for Epd2In9<HW, StateAsleep<W>>
where HW: ResetHw + DelayHw + ErrorHw, HW::Error: From<<HW::Reset as ErrorType>::Error>, W: StateAwake,

Source§

impl<HW, W: StateAwake> Reset<<HW as ErrorHw>::Error> for Epd2In9V2<HW, StateAsleep<W>>
where HW: ResetHw + DelayHw + ErrorHw, HW::Error: From<<HW::Reset as ErrorType>::Error>,