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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".