#[non_exhaustive]pub enum ControlInformation {
Show 57 variants
SendData,
SelectSlave,
ResetAtApplicationLevel,
SynchronizeSlave,
SetBaudRate300,
SetBaudRate600,
SetBaudRate1200,
SetBaudRate2400,
SetBaudRate4800,
SetBaudRate9600,
SetBaudRate19200,
SetBaudRate38400,
OutputRAMContent,
WriteRAMContent,
StartCalibrationTestMode,
ReadEEPROM,
StartSoftwareTest,
HashProcedure(u8),
SendErrorStatus,
SendAlarmStatus,
ResponseWithVariableDataStructure {
lsb_order: bool,
},
ResponseWithFixedDataStructure,
DataSentWithShortTransportLayer,
DataSentWithLongTransportLayer,
CosemDataWithLongTransportLayer,
CosemDataWithShortTransportLayer,
ObisDataReservedLongTransportLayer,
ObisDataReservedShortTransportLayer,
ApplicationLayerFormatFrameNoTransport,
ApplicationLayerFormatFrameShortTransport,
ApplicationLayerFormatFrameLongTransport,
ClockSyncAbsolute,
ClockSyncRelative,
ApplicationErrorShortTransport,
ApplicationErrorLongTransport,
AlarmShortTransport,
AlarmLongTransport,
ApplicationLayerNoTransport,
ApplicationLayerCompactFrameNoTransport,
ApplicationLayerShortTransport,
ApplicationLayerCompactFrameShortTransport,
CosemApplicationLayerLongTransport,
CosemApplicationLayerShortTransport,
ObisApplicationLayerReservedLongTransport,
ObisApplicationLayerReservedShortTransport,
TransportLayerLongReadoutToMeter,
NetworkLayerData,
FutureUse,
NetworkManagementApplication,
TransportLayerCompactFrame,
TransportLayerFormatFrame,
NetworkManagementDataReserved,
TransportLayerShortMeterToReadout,
TransportLayerLongMeterToReadout,
ExtendedLinkLayerI,
ExtendedLinkLayerII,
ExtendedLinkLayerIII,
}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.
SendData
SelectSlave
ResetAtApplicationLevel
SynchronizeSlave
SetBaudRate300
SetBaudRate600
SetBaudRate1200
SetBaudRate2400
SetBaudRate4800
SetBaudRate9600
SetBaudRate19200
SetBaudRate38400
OutputRAMContent
WriteRAMContent
StartCalibrationTestMode
ReadEEPROM
StartSoftwareTest
HashProcedure(u8)
SendErrorStatus
SendAlarmStatus
ResponseWithVariableDataStructure
ResponseWithFixedDataStructure
DataSentWithShortTransportLayer
DataSentWithLongTransportLayer
CosemDataWithLongTransportLayer
CosemDataWithShortTransportLayer
ObisDataReservedLongTransportLayer
ObisDataReservedShortTransportLayer
ApplicationLayerFormatFrameNoTransport
ApplicationLayerFormatFrameShortTransport
ApplicationLayerFormatFrameLongTransport
ClockSyncAbsolute
ClockSyncRelative
ApplicationErrorShortTransport
ApplicationErrorLongTransport
AlarmShortTransport
AlarmLongTransport
ApplicationLayerNoTransport
ApplicationLayerCompactFrameNoTransport
ApplicationLayerShortTransport
ApplicationLayerCompactFrameShortTransport
CosemApplicationLayerLongTransport
CosemApplicationLayerShortTransport
ObisApplicationLayerReservedLongTransport
ObisApplicationLayerReservedShortTransport
TransportLayerLongReadoutToMeter
NetworkLayerData
FutureUse
NetworkManagementApplication
TransportLayerCompactFrame
TransportLayerFormatFrame
NetworkManagementDataReserved
TransportLayerShortMeterToReadout
TransportLayerLongMeterToReadout
ExtendedLinkLayerI
ExtendedLinkLayerII
ExtendedLinkLayerIII
Trait Implementations§
Source§impl Clone for ControlInformation
impl Clone for ControlInformation
Source§fn clone(&self) -> ControlInformation
fn clone(&self) -> ControlInformation
Returns a duplicate 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 ControlInformation
impl Debug for ControlInformation
Source§impl From<ControlInformation> for Direction
impl From<ControlInformation> for Direction
Source§fn from(single_byte: ControlInformation) -> Self
fn from(single_byte: ControlInformation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ControlInformation
impl PartialEq for ControlInformation
impl Copy for ControlInformation
impl StructuralPartialEq for ControlInformation
Auto Trait Implementations§
impl Freeze for ControlInformation
impl RefUnwindSafe for ControlInformation
impl Send for ControlInformation
impl Sync for ControlInformation
impl Unpin for ControlInformation
impl UnsafeUnpin for ControlInformation
impl UnwindSafe for ControlInformation
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