#[repr(u16)]
pub enum AdsState {
Show 17 variants
Invalid,
Idle,
Reset,
Init,
Start,
Run,
Stop,
SaveCfg,
LoadCfg,
PowerFail,
PowerGood,
Error,
Shutdown,
Suspend,
Resume,
Config,
Reconfig,
}
Expand description
The ADS state of a device.
Variants
Invalid
Idle
Reset
Init
Start
Run
Stop
SaveCfg
LoadCfg
PowerFail
PowerGood
Error
Shutdown
Suspend
Resume
Config
Reconfig
Trait Implementations
impl Copy for AdsState
impl Eq for AdsState
impl StructuralEq for AdsState
impl StructuralPartialEq for AdsState
Auto Trait Implementations
impl RefUnwindSafe for AdsState
impl Send for AdsState
impl Sync for AdsState
impl Unpin for AdsState
impl UnwindSafe for AdsState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more