pub enum PutStateReason {
UNKNOWN_PUT_STATE_REASON = 0,
SPIRC_HELLO = 1,
SPIRC_NOTIFY = 2,
NEW_DEVICE = 3,
PLAYER_STATE_CHANGED = 4,
VOLUME_CHANGED = 5,
PICKER_OPENED = 6,
BECAME_INACTIVE = 7,
ALIAS_CHANGED = 8,
}
Variants§
UNKNOWN_PUT_STATE_REASON = 0
SPIRC_HELLO = 1
SPIRC_NOTIFY = 2
NEW_DEVICE = 3
PLAYER_STATE_CHANGED = 4
VOLUME_CHANGED = 5
PICKER_OPENED = 6
BECAME_INACTIVE = 7
ALIAS_CHANGED = 8
Trait Implementations§
Source§impl Clone for PutStateReason
impl Clone for PutStateReason
Source§fn clone(&self) -> PutStateReason
fn clone(&self) -> PutStateReason
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 PutStateReason
impl Debug for PutStateReason
Source§impl Default for PutStateReason
impl Default for PutStateReason
Source§impl Enum for PutStateReason
impl Enum for PutStateReason
Source§const VALUES: &'static [PutStateReason]
const VALUES: &'static [PutStateReason]
All enum values for enum type.
Source§impl EnumFull for PutStateReason
impl EnumFull for PutStateReason
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 PutStateReason
impl Hash for PutStateReason
Source§impl PartialEq for PutStateReason
impl PartialEq for PutStateReason
impl Copy for PutStateReason
impl Eq for PutStateReason
impl StructuralPartialEq for PutStateReason
Auto Trait Implementations§
impl Freeze for PutStateReason
impl RefUnwindSafe for PutStateReason
impl Send for PutStateReason
impl Sync for PutStateReason
impl Unpin for PutStateReason
impl UnwindSafe for PutStateReason
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