Enum protos::internal_api::CommandType
source · pub enum CommandType {
SNITCH_COMMAND_TYPE_UNSET,
SNITCH_COMMAND_TYPE_KEEPALIVE,
SNITCH_COMMAND_TYPE_SET_PIPELINE,
SNITCH_COMMAND_TYPE_DELETE_PIPELINE,
SNITCH_COMMAND_TYPE_PAUSE_PIPELINE,
SNITCH_COMMAND_TYPE_UNPAUSE_PIPELINE,
}Expand description
Types of commands that can be sent to the SDK
Variants§
SNITCH_COMMAND_TYPE_UNSET
SNITCH_COMMAND_TYPE_KEEPALIVE
SNITCH_COMMAND_TYPE_SET_PIPELINE
SNITCH_COMMAND_TYPE_DELETE_PIPELINE
SNITCH_COMMAND_TYPE_PAUSE_PIPELINE
SNITCH_COMMAND_TYPE_UNPAUSE_PIPELINE
Trait Implementations§
source§impl Clone for CommandType
impl Clone for CommandType
source§fn clone(&self) -> CommandType
fn clone(&self) -> CommandType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CommandType
impl Debug for CommandType
source§impl Default for CommandType
impl Default for CommandType
source§impl Enum for CommandType
impl Enum for CommandType
source§fn from_i32(value: i32) -> Option<CommandType>
fn from_i32(value: i32) -> Option<CommandType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [CommandType] = _
const VALUES: &'static [CommandType] = _
All enum values for enum type.
source§impl EnumFull for CommandType
impl EnumFull for CommandType
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for CommandType
impl Hash for CommandType
source§impl PartialEq<CommandType> for CommandType
impl PartialEq<CommandType> for CommandType
source§fn eq(&self, other: &CommandType) -> bool
fn eq(&self, other: &CommandType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CommandType
impl Eq for CommandType
impl StructuralEq for CommandType
impl StructuralPartialEq for CommandType
Auto Trait Implementations§
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnwindSafe for CommandType
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