pub trait PinRead: HalPin {
// Provided method
fn value(&self) -> Result<&<Self as HalPin>::Storage, StorageError> { ... }
}Expand description
Readable pin trait
Implemented for any pin that can only be read by a component
Provided Methods§
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.