Enum opcua_types::status_codes::StatusCode
[−]
[src]
pub enum StatusCode {
Good,
GoodSubscriptionTransferred,
GoodCompletesAsynchronously,
GoodOverload,
GoodClamped,
GoodLocalOverride,
GoodEntryInserted,
GoodEntryReplaced,
GoodNoData,
GoodMoreData,
GoodCommunicationEvent,
GoodShutdownEvent,
GoodCallAgain,
GoodNonCriticalTimeout,
GoodResultsMayBeIncomplete,
GoodDataIgnored,
GoodEdited,
GoodPostActionFailed,
GoodDependentValueChanged,
UncertainReferenceOutOfServer,
UncertainNoCommunicationLastUsableValue,
UncertainLastUsableValue,
UncertainSubstituteValue,
UncertainInitialValue,
UncertainSensorNotAccurate,
UncertainEngineeringUnitsExceeded,
UncertainSubNormal,
UncertainDataSubNormal,
UncertainReferenceNotDeleted,
UncertainNotAllNodesAvailable,
UncertainDominantValueChanged,
UncertainDependentValueChanged,
BadUnexpectedError,
BadInternalError,
BadOutOfMemory,
BadResourceUnavailable,
BadCommunicationError,
BadEncodingError,
BadDecodingError,
BadEncodingLimitsExceeded,
BadUnknownResponse,
BadTimeout,
BadServiceUnsupported,
BadShutdown,
BadServerNotConnected,
BadServerHalted,
BadNothingToDo,
BadTooManyOperations,
BadDataTypeIdUnknown,
BadCertificateInvalid,
BadSecurityChecksFailed,
BadCertificateTimeInvalid,
BadCertificateIssuerTimeInvalid,
BadCertificateHostNameInvalid,
BadCertificateUriInvalid,
BadCertificateUseNotAllowed,
BadCertificateIssuerUseNotAllowed,
BadCertificateUntrusted,
BadCertificateRevocationUnknown,
BadCertificateIssuerRevocationUnknown,
BadCertificateRevoked,
BadCertificateIssuerRevoked,
BadUserAccessDenied,
BadIdentityTokenInvalid,
BadIdentityTokenRejected,
BadSecureChannelIdInvalid,
BadInvalidTimestamp,
BadNonceInvalid,
BadSessionIdInvalid,
BadSessionClosed,
BadSessionNotActivated,
BadSubscriptionIdInvalid,
BadRequestHeaderInvalid,
BadTimestampsToReturnInvalid,
BadRequestCancelledByClient,
BadNoCommunication,
BadWaitingForInitialData,
BadNodeIdInvalid,
BadNodeIdUnknown,
BadAttributeIdInvalid,
BadIndexRangeInvalid,
BadIndexRangeNoData,
BadDataEncodingInvalid,
BadDataEncodingUnsupported,
BadNotReadable,
BadNotWritable,
BadOutOfRange,
BadNotSupported,
BadNotFound,
BadObjectDeleted,
BadNotImplemented,
BadMonitoringModeInvalid,
BadMonitoredItemIdInvalid,
BadMonitoredItemFilterInvalid,
BadMonitoredItemFilterUnsupported,
BadFilterNotAllowed,
BadStructureMissing,
BadEventFilterInvalid,
BadContentFilterInvalid,
BadFilterOperandInvalid,
BadContinuationPointInvalid,
BadNoContinuationPoints,
BadReferenceTypeIdInvalid,
BadBrowseDirectionInvalid,
BadNodeNotInView,
BadServerUriInvalid,
BadServerNameMissing,
BadDiscoveryUrlMissing,
BadSempahoreFileMissing,
BadRequestTypeInvalid,
BadSecurityModeRejected,
BadSecurityPolicyRejected,
BadTooManySessions,
BadUserSignatureInvalid,
BadApplicationSignatureInvalid,
BadNoValidCertificates,
BadRequestCancelledByRequest,
BadParentNodeIdInvalid,
BadReferenceNotAllowed,
BadNodeIdRejected,
BadNodeIdExists,
BadNodeClassInvalid,
BadBrowseNameInvalid,
BadBrowseNameDuplicated,
BadNodeAttributesInvalid,
BadTypeDefinitionInvalid,
BadSourceNodeIdInvalid,
BadTargetNodeIdInvalid,
BadDuplicateReferenceNotAllowed,
BadInvalidSelfReference,
BadReferenceLocalOnly,
BadNoDeleteRights,
BadServerIndexInvalid,
BadViewIdUnknown,
BadTooManyMatches,
BadQueryTooComplex,
BadNoMatch,
BadMaxAgeInvalid,
BadHistoryOperationInvalid,
BadHistoryOperationUnsupported,
BadWriteNotSupported,
BadTypeMismatch,
BadMethodInvalid,
BadArgumentsMissing,
BadTooManySubscriptions,
BadTooManyPublishRequests,
BadNoSubscription,
BadSequenceNumberUnknown,
BadMessageNotAvailable,
BadInsufficientClientProfile,
BadTcpServerTooBusy,
BadTcpMessageTypeInvalid,
BadTcpSecureChannelUnknown,
BadTcpMessageTooLarge,
BadTcpNotEnoughResources,
BadTcpInternalError,
BadTcpEndpointUrlInvalid,
BadRequestInterrupted,
BadRequestTimeout,
BadSecureChannelClosed,
BadSecureChannelTokenUnknown,
BadSequenceNumberInvalid,
BadConfigurationError,
BadNotConnected,
BadDeviceFailure,
BadSensorFailure,
BadOutOfService,
BadDeadbandFilterInvalid,
BadRefreshInProgress,
BadConditionAlreadyDisabled,
BadConditionDisabled,
BadEventIdUnknown,
BadNoData,
BadDataLost,
BadDataUnavailable,
BadEntryExists,
BadNoEntryExists,
BadTimestampNotSupported,
BadInvalidArgument,
BadConnectionRejected,
BadDisconnect,
BadConnectionClosed,
BadInvalidState,
BadEndOfStream,
BadNoDataAvailable,
BadWaitingForResponse,
BadOperationAbandoned,
BadExpectedStreamToBlock,
BadWouldBlock,
BadSyntaxError,
BadMaxConnectionsReached,
BadRequestTooLarge,
BadResponseTooLarge,
BadEventNotAcknowledgeable,
BadInvalidTimestampArgument,
BadProtocolVersionUnsupported,
BadStateNotActive,
BadFilterOperatorInvalid,
BadFilterOperatorUnsupported,
BadFilterOperandCountMismatch,
BadFilterElementInvalid,
BadFilterLiteralInvalid,
BadIdentityChangeNotSupported,
BadNotTypeDefinition,
BadViewTimestampInvalid,
BadViewParameterMismatch,
BadViewVersionInvalid,
BadConditionAlreadyEnabled,
BadDialogNotActive,
BadDialogResponseInvalid,
BadConditionBranchAlreadyAcked,
BadConditionBranchAlreadyConfirmed,
BadConditionAlreadyShelved,
BadConditionNotShelved,
BadShelvingTimeOutOfRange,
BadAggregateListMismatch,
BadAggregateNotSupported,
BadAggregateInvalidInputs,
BadBoundNotFound,
BadBoundNotSupported,
BadAggregateConfigurationRejected,
BadTooManyMonitoredItems,
BadDominantValueChanged,
BadDependentValueChanged,
BadRequestNotAllowed,
BadTooManyArguments,
BadSecurityModeInsufficient,
BadCertificateChainIncomplete,
}Variants
GoodGoodSubscriptionTransferredGoodCompletesAsynchronouslyGoodOverloadGoodClampedGoodLocalOverrideGoodEntryInsertedGoodEntryReplacedGoodNoDataGoodMoreDataGoodCommunicationEventGoodShutdownEventGoodCallAgainGoodNonCriticalTimeoutGoodResultsMayBeIncompleteGoodDataIgnoredGoodEditedGoodPostActionFailedGoodDependentValueChangedUncertainReferenceOutOfServerUncertainNoCommunicationLastUsableValueUncertainLastUsableValueUncertainSubstituteValueUncertainInitialValueUncertainSensorNotAccurateUncertainEngineeringUnitsExceededUncertainSubNormalUncertainDataSubNormalUncertainReferenceNotDeletedUncertainNotAllNodesAvailableUncertainDominantValueChangedUncertainDependentValueChangedBadUnexpectedErrorBadInternalErrorBadOutOfMemoryBadCommunicationErrorBadEncodingErrorBadDecodingErrorBadEncodingLimitsExceededBadUnknownResponseBadTimeoutBadServiceUnsupportedBadShutdownBadServerNotConnectedBadServerHaltedBadNothingToDoBadTooManyOperationsBadDataTypeIdUnknownBadCertificateInvalidBadSecurityChecksFailedBadCertificateTimeInvalidBadCertificateIssuerTimeInvalidBadCertificateHostNameInvalidBadCertificateUriInvalidBadCertificateUseNotAllowedBadCertificateIssuerUseNotAllowedBadCertificateUntrustedBadCertificateRevocationUnknownBadCertificateIssuerRevocationUnknownBadCertificateRevokedBadCertificateIssuerRevokedBadUserAccessDeniedBadIdentityTokenInvalidBadIdentityTokenRejectedBadSecureChannelIdInvalidBadInvalidTimestampBadNonceInvalidBadSessionIdInvalidBadSessionClosedBadSessionNotActivatedBadSubscriptionIdInvalidBadRequestHeaderInvalidBadTimestampsToReturnInvalidBadRequestCancelledByClientBadNoCommunicationBadWaitingForInitialDataBadNodeIdInvalidBadNodeIdUnknownBadAttributeIdInvalidBadIndexRangeInvalidBadIndexRangeNoDataBadDataEncodingInvalidBadDataEncodingUnsupportedBadNotReadableBadNotWritableBadOutOfRangeBadNotSupportedBadNotFoundBadObjectDeletedBadNotImplementedBadMonitoringModeInvalidBadMonitoredItemIdInvalidBadMonitoredItemFilterInvalidBadMonitoredItemFilterUnsupportedBadFilterNotAllowedBadStructureMissingBadEventFilterInvalidBadContentFilterInvalidBadFilterOperandInvalidBadContinuationPointInvalidBadNoContinuationPointsBadReferenceTypeIdInvalidBadBrowseDirectionInvalidBadNodeNotInViewBadServerUriInvalidBadServerNameMissingBadDiscoveryUrlMissingBadSempahoreFileMissingBadRequestTypeInvalidBadSecurityModeRejectedBadSecurityPolicyRejectedBadTooManySessionsBadUserSignatureInvalidBadApplicationSignatureInvalidBadNoValidCertificatesBadRequestCancelledByRequestBadParentNodeIdInvalidBadReferenceNotAllowedBadNodeIdRejectedBadNodeIdExistsBadNodeClassInvalidBadBrowseNameInvalidBadBrowseNameDuplicatedBadNodeAttributesInvalidBadTypeDefinitionInvalidBadSourceNodeIdInvalidBadTargetNodeIdInvalidBadDuplicateReferenceNotAllowedBadInvalidSelfReferenceBadReferenceLocalOnlyBadNoDeleteRightsBadServerIndexInvalidBadViewIdUnknownBadTooManyMatchesBadQueryTooComplexBadNoMatchBadMaxAgeInvalidBadHistoryOperationInvalidBadHistoryOperationUnsupportedBadWriteNotSupportedBadTypeMismatchBadMethodInvalidBadArgumentsMissingBadTooManySubscriptionsBadTooManyPublishRequestsBadNoSubscriptionBadSequenceNumberUnknownBadMessageNotAvailableBadInsufficientClientProfileBadTcpServerTooBusyBadTcpMessageTypeInvalidBadTcpSecureChannelUnknownBadTcpMessageTooLargeBadTcpNotEnoughResourcesBadTcpInternalErrorBadTcpEndpointUrlInvalidBadRequestInterruptedBadRequestTimeoutBadSecureChannelClosedBadSecureChannelTokenUnknownBadSequenceNumberInvalidBadConfigurationErrorBadNotConnectedBadDeviceFailureBadSensorFailureBadOutOfServiceBadDeadbandFilterInvalidBadRefreshInProgressBadConditionAlreadyDisabledBadConditionDisabledBadEventIdUnknownBadNoDataBadDataLostBadEntryExistsBadNoEntryExistsBadTimestampNotSupportedBadInvalidArgumentBadConnectionRejectedBadDisconnectBadConnectionClosedBadInvalidStateBadEndOfStreamBadNoDataAvailableBadWaitingForResponseBadOperationAbandonedBadExpectedStreamToBlockBadWouldBlockBadSyntaxErrorBadMaxConnectionsReachedBadRequestTooLargeBadResponseTooLargeBadEventNotAcknowledgeableBadInvalidTimestampArgumentBadProtocolVersionUnsupportedBadStateNotActiveBadFilterOperatorInvalidBadFilterOperatorUnsupportedBadFilterOperandCountMismatchBadFilterElementInvalidBadFilterLiteralInvalidBadIdentityChangeNotSupportedBadNotTypeDefinitionBadViewTimestampInvalidBadViewParameterMismatchBadViewVersionInvalidBadConditionAlreadyEnabledBadDialogNotActiveBadDialogResponseInvalidBadConditionBranchAlreadyAckedBadConditionBranchAlreadyConfirmedBadConditionAlreadyShelvedBadConditionNotShelvedBadShelvingTimeOutOfRangeBadAggregateListMismatchBadAggregateNotSupportedBadAggregateInvalidInputsBadBoundNotFoundBadBoundNotSupportedBadAggregateConfigurationRejectedBadTooManyMonitoredItemsBadDominantValueChangedBadDependentValueChangedBadRequestNotAllowedBadTooManyArgumentsBadSecurityModeInsufficientBadCertificateChainIncomplete
Methods
impl StatusCode[src]
fn is_bad(&self) -> bool[src]
Tests if the status code is bad
fn is_uncertain(&self) -> bool[src]
Tests if the status code is uncertain
fn is_good(&self) -> bool[src]
Tests if the status code is good (i.e. not bad or uncertain)
fn name(&self) -> &'static str[src]
Returns the descriptive name for the status code, e.g. to put a meaningful code in a log file
fn description(&self) -> &'static str[src]
Returns the descriptive text for the status code
fn from_u32(code: u32) -> Result<StatusCode, ()>[src]
Takes an OPC UA status code as a UInt32 and returns the matching StatusCode, assuming there is one
fn from_str(name: &str) -> Result<StatusCode, ()>[src]
Takes an OPC UA status code as a string and returns the matching StatusCode - assuming there is one
Trait Implementations
impl PartialEq for StatusCode[src]
fn eq(&self, __arg_0: &StatusCode) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for StatusCode[src]
impl Copy for StatusCode[src]
impl Clone for StatusCode[src]
fn clone(&self) -> StatusCode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl BinaryEncoder<StatusCode> for StatusCode[src]
fn byte_len(&self) -> usize[src]
Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more
fn encode<S: Write>(&self, stream: &mut S) -> EncodingResult<usize>[src]
Encodes the instance to the write stream.
fn decode<S: Read>(stream: &mut S) -> EncodingResult<Self>[src]
Decodes an instance from the read stream.