pub enum Command {
Show 52 variants
Reset,
HostProtocolVersion,
GetSerialNumber,
Sync,
Disable,
Enable,
GetFirmwareVersion,
GetDatasetVersion,
PayoutAmount,
GetDenominationLevel,
HaltPayout,
GetDenominationRoute,
GetMinimumPayout,
SetCoinMechInhibits,
PayoutByDenomination,
SetGenerator,
RequestKeyExchange,
GetBuildRevision,
GetHopperOptions,
CashboxPayoutOperationData,
EventAck,
SetFixedEncryptionKey,
SetupRequest,
Poll,
GetAllLevels,
SetDenominationLevel,
CommunicationPassThrough,
SetDenominatinoRoute,
FloatAmount,
EmptyAll,
FloatByDenomination,
SetCoinMechGlobalInhibit,
SetModulus,
SetBaudRate,
SetHopperOptions,
SmartEmpty,
PollWithAck,
CoinMechOptions,
ResetFixedEncryptionKey,
SetCashboxPayoutLimit,
SetInhibits,
DisplayOn,
DisplayOff,
Reject,
UintData,
ChannelValueData,
ChannelSecurityData,
LastRejectCode,
Hold,
GetCounters,
ResetCounters,
Unknown(u8),
}Variants§
Reset
HostProtocolVersion
GetSerialNumber
Sync
Disable
Enable
GetFirmwareVersion
GetDatasetVersion
PayoutAmount
GetDenominationLevel
HaltPayout
GetDenominationRoute
GetMinimumPayout
SetCoinMechInhibits
PayoutByDenomination
SetGenerator
RequestKeyExchange
GetBuildRevision
GetHopperOptions
CashboxPayoutOperationData
EventAck
SetFixedEncryptionKey
SetupRequest
Poll
GetAllLevels
SetDenominationLevel
CommunicationPassThrough
SetDenominatinoRoute
FloatAmount
EmptyAll
FloatByDenomination
SetCoinMechGlobalInhibit
SetModulus
SetBaudRate
SetHopperOptions
SmartEmpty
PollWithAck
CoinMechOptions
ResetFixedEncryptionKey
SetCashboxPayoutLimit
SetInhibits
DisplayOn
DisplayOff
Reject
UintData
ChannelValueData
ChannelSecurityData
LastRejectCode
Hold
GetCounters
ResetCounters
Unknown(u8)
Implementations§
Trait Implementations§
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more