pub trait Mode: Sealed {
const DYN: DynMode;
}Expand description
Type-level enum for the Xosc operating mode
An Xosc can be sourced from either an external clock or a cyrstal
oscillator. This type-level enum provides two type-level variants,
ClockMode and CrystalMode, representing these operating modes.
Mode is the type-level equivalent of DynMode. See the documentation on
type-level programming and specifically type-level enums for more
details.
Required Associated Constants§
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.