Enum embedded_bacnet::common::spec::ErrorCode
source · #[repr(u16)]pub enum ErrorCode {
Show 207 variants
Other = 0,
DeviceBusy = 3,
ConfigurationInProgress = 2,
OperationalProblem = 25,
DynamicCreationNotSupported = 4,
NoObjectsOfSpecifiedType = 17,
ObjectDeletionNotPermitted = 23,
ObjectIdentifierAlreadyExists = 24,
ReadAccessDenied = 27,
UnknownObject = 31,
UnsupportedObjectType = 36,
CharacterSetNotSupported = 41,
DatatypeNotSupported = 47,
InconsistentSelectionCriterion = 8,
InvalidArrayIndex = 42,
InvalidDataType = 9,
NotCovProperty = 44,
OptionalFunctionalityNotSupported = 45,
PropertyIsNotAnArray = 50,
UnknownProperty = 32,
ValueOutOfRange = 37,
WriteAccessDenied = 40,
NoSpaceForObject = 18,
NoSpaceToAddListElement = 19,
NoSpaceToWriteProperty = 20,
AuthenticationFailed = 1,
IncompatibleSecurityLevels = 6,
InvalidOperatorName = 12,
KeyGenerationError = 15,
PasswordFailure = 26,
SecurityNotSupported = 28,
Timeout = 30,
CovSubscriptionFailed = 43,
DuplicateName = 48,
DuplicateObjectId = 49,
FileAccessDenied = 5,
InconsistentParameters = 7,
InvalidConfigurationData = 46,
InvalidFileAccessMethod = 10,
InvalidFileStartPosition = 11,
InvalidParameterDataType = 13,
InvalidTimeStamp = 14,
MissingRequiredParameter = 16,
PropertyIsNotAList = 22,
ServiceRequestDenied = 29,
UnknownVtClass = 34,
UnknownVtSession = 35,
NoVtSessionsAvailable = 21,
VtSessionAlreadyClosed = 38,
VtSessionTerminationFailure = 39,
Reserved1 = 33,
AbortBufferOverflow = 51,
AbortInvalidApduInThisState = 52,
AbortPreemptedByHigherPriorityTask = 53,
AbortSegmentationNotSupported = 54,
AbortProprietary = 55,
AbortOther = 56,
InvalidTag = 57,
NetworkDown = 58,
RejectBufferOverflow = 59,
RejectInconsistentParameters = 60,
RejectInvalidParameterDataType = 61,
RejectInvalidTag = 62,
RejectMissingRequiredParameter = 63,
RejectParameterOutOfRange = 64,
RejectTooManyArguments = 65,
RejectUndefinedEnumeration = 66,
RejectUnrecognizedService = 67,
RejectProprietary = 68,
RejectOther = 69,
UnknownDevice = 70,
UnknownRoute = 71,
ValueNotInitialized = 72,
InvalidEventState = 73,
NoAlarmConfigured = 74,
LogBufferFull = 75,
LoggedValuePurged = 76,
NoPropertySpecified = 77,
NotConfiguredForTriggeredLogging = 78,
UnknownSubscription = 79,
ParameterOutOfRange = 80,
ListElementNotFound = 81,
Busy = 82,
CommunicationDisabled = 83,
Success = 84,
AccessDenied = 85,
BadDestinationAddress = 86,
BadDestinationDeviceId = 87,
BadSignature = 88,
BadSourceAddress = 89,
BadTimestamp = 90,
CannotUseKey = 91,
CannotVerifyMessageId = 92,
CorrectKeyRevision = 93,
DestinationDeviceIdRequired = 94,
DuplicateMessage = 95,
EncryptionNotConfigured = 96,
EncryptionRequired = 97,
IncorrectKey = 98,
InvalidKeyData = 99,
KeyUpdateInProgress = 100,
MalformedMessage = 101,
NotKeyServer = 102,
SecurityNotConfigured = 103,
SourceSecurityRequired = 104,
TooManyKeys = 105,
UnknownAuthenticationType = 106,
UnknownKey = 107,
UnknownKeyRevision = 108,
UnknownSourceMessage = 109,
NotRouterToDnet = 110,
RouterBusy = 111,
UnknownNetworkMessage = 112,
MessageTooLong = 113,
SecurityError = 114,
AddressingError = 115,
WriteBdtFailed = 116,
ReadBdtFailed = 117,
RegisterForeignDeviceFailed = 118,
ReadFdtFailed = 119,
DeleteFdtEntryFailed = 120,
DistributeBroadcastFailed = 121,
UnknownFileSize = 122,
AbortApduTooLong = 123,
AbortApplicationExceededReplyTime = 124,
AbortOutOfResources = 125,
AbortTsmTimeout = 126,
AbortWindowSizeOutOfRange = 127,
FileFull = 128,
InconsistentConfiguration = 129,
InconsistentObjectType = 130,
InternalError = 131,
NotConfigured = 132,
OutOfMemory = 133,
ValueTooLong = 134,
AbortInsufficientSecurity = 135,
AbortSecurityError = 136,
DuplicateEntry = 137,
InvalidValueInThisState = 138,
InvalidOperationInThisState = 139,
ListItemNotNumbered = 140,
ListItemNotTimestamped = 141,
InvalidDataEncoding = 142,
BvlcFunctionUnknown = 143,
BvlcProprietaryFunctionUnknown = 144,
HeaderEncodingError = 145,
HeaderNotUnderstood = 146,
MessageIncomplete = 147,
NotABacnetScHub = 148,
PayloadExpected = 149,
UnexpectedData = 150,
NodeDuplicateVmac = 151,
HttpUnexpectedResponseCode = 152,
HttpNoUpgrade = 153,
HttpResourceNotLocal = 154,
HttpProxyAuthenticationFailed = 155,
HttpResponseTimeout = 156,
HttpResponseSyntaxError = 157,
HttpResponseValueError = 158,
HttpResponseMissingHeader = 159,
HttpWebsocketHeaderError = 160,
HttpUpgradeRequired = 161,
HttpUpgradeError = 162,
HttpTemporaryUnavailable = 163,
HttpNotAServer = 164,
HttpError = 165,
WebsocketSchemeNotSupported = 166,
WebsocketUnknownControlMessage = 167,
WebsocketCloseError = 168,
WebsocketClosedByPeer = 169,
WebsocketEndpointLeaves = 170,
WebsocketProtocolError = 171,
WebsocketDataNotAccepted = 172,
WebsocketClosedAbnormally = 173,
WebsocketDataInconsistent = 174,
WebsocketDataAgainstPolicy = 175,
WebsocketFrameTooLong = 176,
WebsocketExtensionMissing = 177,
WebsocketRequestUnavailable = 178,
WebsocketError = 179,
TlsClientCertificateError = 180,
TlsServerCertificateError = 181,
TlsClientAuthenticationFailed = 182,
TlsServerAuthenticationFailed = 183,
TlsClientCertificateExpired = 184,
TlsServerCertificateExpired = 185,
TlsClientCertificateRevoked = 186,
TlsServerCertificateRevoked = 187,
TlsError = 188,
DnsUnavailable = 189,
DnsNameResolutionFailed = 190,
DnsResolverFailure = 191,
DnsError = 192,
TcpConnectTimeout = 193,
TcpConnectionRefused = 194,
TcpClosedByLocal = 195,
TcpClosedOther = 196,
TcpError = 197,
IpAddressNotReachable = 198,
IpError = 199,
CertificateExpired = 200,
CertificateInvalid = 201,
CertificateMalformed = 202,
CertificateRevoked = 203,
UnknownSecurityKey = 204,
ReferencedPortInError = 205,
Proprietary(u16),
}Variants§
Other = 0
DeviceBusy = 3
ConfigurationInProgress = 2
OperationalProblem = 25
DynamicCreationNotSupported = 4
NoObjectsOfSpecifiedType = 17
ObjectDeletionNotPermitted = 23
ObjectIdentifierAlreadyExists = 24
ReadAccessDenied = 27
UnknownObject = 31
UnsupportedObjectType = 36
CharacterSetNotSupported = 41
DatatypeNotSupported = 47
InconsistentSelectionCriterion = 8
InvalidArrayIndex = 42
InvalidDataType = 9
NotCovProperty = 44
OptionalFunctionalityNotSupported = 45
PropertyIsNotAnArray = 50
UnknownProperty = 32
ValueOutOfRange = 37
WriteAccessDenied = 40
NoSpaceForObject = 18
NoSpaceToAddListElement = 19
NoSpaceToWriteProperty = 20
AuthenticationFailed = 1
IncompatibleSecurityLevels = 6
InvalidOperatorName = 12
KeyGenerationError = 15
PasswordFailure = 26
SecurityNotSupported = 28
Timeout = 30
CovSubscriptionFailed = 43
DuplicateName = 48
DuplicateObjectId = 49
FileAccessDenied = 5
InconsistentParameters = 7
InvalidConfigurationData = 46
InvalidFileAccessMethod = 10
InvalidFileStartPosition = 11
InvalidParameterDataType = 13
InvalidTimeStamp = 14
MissingRequiredParameter = 16
PropertyIsNotAList = 22
ServiceRequestDenied = 29
UnknownVtClass = 34
UnknownVtSession = 35
NoVtSessionsAvailable = 21
VtSessionAlreadyClosed = 38
VtSessionTerminationFailure = 39
Reserved1 = 33
AbortBufferOverflow = 51
AbortInvalidApduInThisState = 52
AbortPreemptedByHigherPriorityTask = 53
AbortSegmentationNotSupported = 54
AbortProprietary = 55
AbortOther = 56
InvalidTag = 57
NetworkDown = 58
RejectBufferOverflow = 59
RejectInconsistentParameters = 60
RejectInvalidParameterDataType = 61
RejectInvalidTag = 62
RejectMissingRequiredParameter = 63
RejectParameterOutOfRange = 64
RejectTooManyArguments = 65
RejectUndefinedEnumeration = 66
RejectUnrecognizedService = 67
RejectProprietary = 68
RejectOther = 69
UnknownDevice = 70
UnknownRoute = 71
ValueNotInitialized = 72
InvalidEventState = 73
NoAlarmConfigured = 74
LogBufferFull = 75
LoggedValuePurged = 76
NoPropertySpecified = 77
NotConfiguredForTriggeredLogging = 78
UnknownSubscription = 79
ParameterOutOfRange = 80
ListElementNotFound = 81
Busy = 82
CommunicationDisabled = 83
Success = 84
AccessDenied = 85
BadDestinationAddress = 86
BadDestinationDeviceId = 87
BadSignature = 88
BadSourceAddress = 89
BadTimestamp = 90
CannotUseKey = 91
CannotVerifyMessageId = 92
CorrectKeyRevision = 93
DestinationDeviceIdRequired = 94
DuplicateMessage = 95
EncryptionNotConfigured = 96
EncryptionRequired = 97
IncorrectKey = 98
InvalidKeyData = 99
KeyUpdateInProgress = 100
MalformedMessage = 101
NotKeyServer = 102
SecurityNotConfigured = 103
SourceSecurityRequired = 104
TooManyKeys = 105
UnknownAuthenticationType = 106
UnknownKey = 107
UnknownKeyRevision = 108
UnknownSourceMessage = 109
NotRouterToDnet = 110
RouterBusy = 111
UnknownNetworkMessage = 112
MessageTooLong = 113
SecurityError = 114
AddressingError = 115
WriteBdtFailed = 116
ReadBdtFailed = 117
RegisterForeignDeviceFailed = 118
ReadFdtFailed = 119
DeleteFdtEntryFailed = 120
DistributeBroadcastFailed = 121
UnknownFileSize = 122
AbortApduTooLong = 123
AbortApplicationExceededReplyTime = 124
AbortOutOfResources = 125
AbortTsmTimeout = 126
AbortWindowSizeOutOfRange = 127
FileFull = 128
InconsistentConfiguration = 129
InconsistentObjectType = 130
InternalError = 131
NotConfigured = 132
OutOfMemory = 133
ValueTooLong = 134
AbortInsufficientSecurity = 135
AbortSecurityError = 136
DuplicateEntry = 137
InvalidValueInThisState = 138
InvalidOperationInThisState = 139
ListItemNotNumbered = 140
ListItemNotTimestamped = 141
InvalidDataEncoding = 142
BvlcFunctionUnknown = 143
BvlcProprietaryFunctionUnknown = 144
HeaderEncodingError = 145
HeaderNotUnderstood = 146
MessageIncomplete = 147
NotABacnetScHub = 148
PayloadExpected = 149
UnexpectedData = 150
NodeDuplicateVmac = 151
HttpUnexpectedResponseCode = 152
HttpNoUpgrade = 153
HttpResourceNotLocal = 154
HttpProxyAuthenticationFailed = 155
HttpResponseTimeout = 156
HttpResponseSyntaxError = 157
HttpResponseValueError = 158
HttpResponseMissingHeader = 159
HttpWebsocketHeaderError = 160
HttpUpgradeRequired = 161
HttpUpgradeError = 162
HttpNotAServer = 164
HttpError = 165
WebsocketSchemeNotSupported = 166
WebsocketUnknownControlMessage = 167
WebsocketCloseError = 168
WebsocketClosedByPeer = 169
WebsocketEndpointLeaves = 170
WebsocketProtocolError = 171
WebsocketDataNotAccepted = 172
WebsocketClosedAbnormally = 173
WebsocketDataInconsistent = 174
WebsocketDataAgainstPolicy = 175
WebsocketFrameTooLong = 176
WebsocketExtensionMissing = 177
WebsocketError = 179
TlsClientCertificateError = 180
TlsServerCertificateError = 181
TlsClientAuthenticationFailed = 182
TlsServerAuthenticationFailed = 183
TlsClientCertificateExpired = 184
TlsServerCertificateExpired = 185
TlsClientCertificateRevoked = 186
TlsServerCertificateRevoked = 187
TlsError = 188
DnsNameResolutionFailed = 190
DnsResolverFailure = 191
DnsError = 192
TcpConnectTimeout = 193
TcpConnectionRefused = 194
TcpClosedByLocal = 195
TcpClosedOther = 196
TcpError = 197
IpAddressNotReachable = 198
IpError = 199
CertificateExpired = 200
CertificateInvalid = 201
CertificateMalformed = 202
CertificateRevoked = 203
UnknownSecurityKey = 204
ReferencedPortInError = 205
Proprietary(u16)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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