pub trait Adc: Send {
// Required method
fn unit() -> adc_unit_t;
}
Required Methods§
fn unit() -> adc_unit_t
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.