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: EpdHw, STATE: StateAwake> Reset<<HW as EpdHw>::Error> for Epd2In9<HW, STATE>

Source§

type DisplayOut = Epd2In9<HW, STATE>

Source§

impl<HW: EpdHw, STATE: StateAwake> Reset<<HW as EpdHw>::Error> for Epd2In9V2<HW, STATE>

Source§

type DisplayOut = Epd2In9V2<HW, STATE>

Source§

impl<HW: EpdHw, W: StateAwake> Reset<<HW as EpdHw>::Error> for Epd2In9<HW, StateAsleep<W>>

Source§

impl<HW: EpdHw, W: StateAwake> Reset<<HW as EpdHw>::Error> for Epd2In9V2<HW, StateAsleep<W>>