#[repr(u8)]pub enum VialCommand {
Show 15 variants
GetKeyboardId = 0,
GetSize = 1,
GetKeyboardDef = 2,
GetEncoder = 3,
SetEncoder = 4,
GetUnlockStatus = 5,
UnlockStart = 6,
UnlockPoll = 7,
Lock = 8,
BehaviorSettingQuery = 9,
GetBehaviorSetting = 10,
SetBehaviorSetting = 11,
QmkSettingsReset = 12,
DynamicEntryOp = 13,
Unhandled = 255,
}Expand description
Vial communication commands.
Variants§
GetKeyboardId = 0
GetSize = 1
GetKeyboardDef = 2
GetEncoder = 3
SetEncoder = 4
GetUnlockStatus = 5
UnlockStart = 6
UnlockPoll = 7
Lock = 8
BehaviorSettingQuery = 9
GetBehaviorSetting = 10
SetBehaviorSetting = 11
QmkSettingsReset = 12
DynamicEntryOp = 13
Unhandled = 255
Implementations§
Source§impl VialCommand
impl VialCommand
Trait Implementations§
Source§impl Clone for VialCommand
impl Clone for VialCommand
Source§fn clone(&self) -> VialCommand
fn clone(&self) -> VialCommand
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VialCommand
impl Debug for VialCommand
Source§impl From<u8> for VialCommand
impl From<u8> for VialCommand
Source§impl Ord for VialCommand
impl Ord for VialCommand
Source§impl PartialEq for VialCommand
impl PartialEq for VialCommand
Source§impl PartialOrd for VialCommand
impl PartialOrd for VialCommand
impl Copy for VialCommand
impl Eq for VialCommand
impl StructuralPartialEq for VialCommand
Auto Trait Implementations§
impl Freeze for VialCommand
impl RefUnwindSafe for VialCommand
impl Send for VialCommand
impl Sync for VialCommand
impl Unpin for VialCommand
impl UnwindSafe for VialCommand
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)