pub enum EventCommand {
Start,
Stop,
}Expand description
What an event control request asks for.
Variants§
Start
Configure the camera’s event delivery and start forwarding events.
Stop
Stop forwarding and restore the camera’s previous event settings.
Trait Implementations§
Source§impl Clone for EventCommand
impl Clone for EventCommand
impl Copy for EventCommand
Source§impl Debug for EventCommand
impl Debug for EventCommand
Source§impl<'de> Deserialize<'de> for EventCommand
impl<'de> Deserialize<'de> for EventCommand
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 EventCommand
Source§impl PartialEq for EventCommand
impl PartialEq for EventCommand
Source§impl Serialize for EventCommand
impl Serialize for EventCommand
impl StructuralPartialEq for EventCommand
Auto Trait Implementations§
impl Freeze for EventCommand
impl RefUnwindSafe for EventCommand
impl Send for EventCommand
impl Sync for EventCommand
impl Unpin for EventCommand
impl UnsafeUnpin for EventCommand
impl UnwindSafe for EventCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.