pub enum AutomationState {
Off,
Read,
Write,
ReadWrite,
}Expand description
Host automation mode reported to controllers implementing IAutomationState.
Variants§
Off
Automation is disabled.
Read
Read existing automation.
Write
Write automation.
ReadWrite
Read and write automation.
Trait Implementations§
Source§impl Clone for AutomationState
impl Clone for AutomationState
Source§fn clone(&self) -> AutomationState
fn clone(&self) -> AutomationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AutomationState
Source§impl Debug for AutomationState
impl Debug for AutomationState
Source§impl<'de> Deserialize<'de> for AutomationState
impl<'de> Deserialize<'de> for AutomationState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AutomationState
Source§impl PartialEq for AutomationState
impl PartialEq for AutomationState
Source§impl Serialize for AutomationState
impl Serialize for AutomationState
impl StructuralPartialEq for AutomationState
Auto Trait Implementations§
impl Freeze for AutomationState
impl RefUnwindSafe for AutomationState
impl Send for AutomationState
impl Sync for AutomationState
impl Unpin for AutomationState
impl UnsafeUnpin for AutomationState
impl UnwindSafe for AutomationState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more