pub trait RegulatorState: Sealed + 'static {
const DISABLE_ON_DROP: bool;
}
Expand description
A trait representing the different states a Regulator
can be in.
Required Associated Constants§
Sourceconst DISABLE_ON_DROP: bool
const DISABLE_ON_DROP: bool
Whether the regulator should be disabled when dropped.
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.