pub trait InputPin: Pin {
// Required method
fn poll_get(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<bool, Self::Error>>;
}Expand description
A pin that can be read from.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".