[][src]Trait embedded_platform::gpio::InputPin

pub trait InputPin: Pin {
    fn poll_get(
        self: Pin<&mut Self>,
        cx: &mut Context
    ) -> Poll<Result<bool, Self::Error>>; }

A pin that can be read from.

Required methods

fn poll_get(
    self: Pin<&mut Self>,
    cx: &mut Context
) -> Poll<Result<bool, Self::Error>>

Polls a read operation of this pin to completion.

Loading content...

Implementors

impl InputPin for NoConnect[src]

Loading content...