#[non_exhaustive]#[repr(u8)]pub enum Cmd {
Show 41 variants
Reset = 0,
Synchronize = 1,
SetMode = 2,
Clear = 3,
Nop = 4,
WritePatternBuffer = 16,
ConfigPattern = 17,
ChangePatternBank = 18,
WritePatternCompressed = 19,
WritePatternFused = 20,
WriteModulationBuffer = 32,
ConfigModulation = 33,
ChangeModulationBank = 34,
WriteModulationFused = 35,
SetSilencer = 48,
SetPhaseCorrection = 64,
SetOutputMask = 65,
SetPulseWidthTable = 66,
EmulateGpioIn = 80,
SetGpioOut = 82,
ForceFan = 96,
UpdateBegin = 112,
UpdateChunk = 113,
UpdateCommit = 114,
UpdateActivate = 115,
UpdateConfirm = 116,
FpgaUpdateBegin = 117,
FpgaUpdateChunk = 118,
FpgaUpdateCommit = 119,
FpgaUpdateActivate = 120,
ReadErrorDetail = 224,
ReadCpuFwVersionMajor = 225,
ReadCpuFwVersionMinor = 226,
ReadCpuFwVersionPatch = 227,
ReadFpgaFwVersionMajor = 228,
ReadFpgaFwVersionMinor = 229,
ReadFpgaFwVersionPatch = 230,
ReadFpgaState = 231,
ReadTelemetry = 232,
ReadFpgaFunctions = 233,
ReadFpgaBootImage = 234,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reset = 0
Synchronize = 1
SetMode = 2
Clear = 3
Nop = 4
WritePatternBuffer = 16
ConfigPattern = 17
ChangePatternBank = 18
WritePatternCompressed = 19
WritePatternFused = 20
WriteModulationBuffer = 32
ConfigModulation = 33
ChangeModulationBank = 34
WriteModulationFused = 35
SetSilencer = 48
SetPhaseCorrection = 64
SetOutputMask = 65
SetPulseWidthTable = 66
EmulateGpioIn = 80
SetGpioOut = 82
ForceFan = 96
UpdateBegin = 112
UpdateChunk = 113
UpdateCommit = 114
UpdateActivate = 115
UpdateConfirm = 116
FpgaUpdateBegin = 117
FpgaUpdateChunk = 118
FpgaUpdateCommit = 119
FpgaUpdateActivate = 120
ReadErrorDetail = 224
ReadCpuFwVersionMajor = 225
ReadCpuFwVersionMinor = 226
ReadCpuFwVersionPatch = 227
ReadFpgaFwVersionMajor = 228
ReadFpgaFwVersionMinor = 229
ReadFpgaFwVersionPatch = 230
ReadFpgaState = 231
ReadTelemetry = 232
ReadFpgaFunctions = 233
ReadFpgaBootImage = 234
Implementations§
Trait Implementations§
impl Copy for Cmd
impl Eq for Cmd
impl StructuralPartialEq for Cmd
Auto Trait Implementations§
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnsafeUnpin for Cmd
impl UnwindSafe for Cmd
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.