Skip to main content

RegulatorState

Trait RegulatorState 

Source
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§

Source

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".

Implementors§