Trait OutputPin

Source
pub trait OutputPin: Pin {
    // Required method
    fn poll_set(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
        high: bool,
    ) -> Poll<Result<(), Self::Error>>;
}
Expand description

A pin that can be written to.

Required Methods§

Source

fn poll_set( self: Pin<&mut Self>, cx: &mut Context<'_>, high: bool, ) -> Poll<Result<(), Self::Error>>

Polls a write operation of this pin to completion.

Implementors§