Skip to main content

StatusCode

Struct StatusCode 

Source
pub struct StatusCode(/* private fields */);
Expand description

Full 32-bit OPC UA status, including quality and information bits.

Implementations§

Source§

impl StatusCode

Source

pub fn bits(self) -> u32

Source

pub fn is_good(self) -> bool

Source

pub fn is_bad(self) -> bool

Source§

impl StatusCode

Source

pub const Good: Self

The operation succeeded.

Source

pub const Uncertain: Self

The operation was uncertain.

Source

pub const Bad: Self

The operation failed.

Source

pub const BadUnexpectedError: Self

An unexpected error occurred.

Source

pub const BadInternalError: Self

An internal error occurred as a result of a programming or configuration error.

Source

pub const BadOutOfMemory: Self

Not enough memory to complete the operation.

Source

pub const BadResourceUnavailable: Self

An operating system resource is not available.

Source

pub const BadCommunicationError: Self

A low level communication error occurred.

Source

pub const BadEncodingError: Self

Encoding halted because of invalid data in the objects being serialized.

Source

pub const BadDecodingError: Self

Decoding halted because of invalid data in the stream.

Source

pub const BadEncodingLimitsExceeded: Self

The message encoding/decoding limits imposed by the stack have been exceeded.

Source

pub const BadRequestTooLarge: Self

The request message size exceeds limits set by the server.

Source

pub const BadResponseTooLarge: Self

The response message size exceeds limits set by the client or server.

Source

pub const BadUnknownResponse: Self

An unrecognized response was received from the server.

Source

pub const BadTimeout: Self

The operation timed out.

Source

pub const BadServiceUnsupported: Self

The server does not support the requested service.

Source

pub const BadShutdown: Self

The operation was cancelled because the application is shutting down.

Source

pub const BadServerNotConnected: Self

The operation could not complete because the client is not connected to the server.

Source

pub const BadServerHalted: Self

The server has stopped and cannot process any requests.

Source

pub const BadNothingToDo: Self

No processing could be done because there was nothing to do.

Source

pub const BadTooManyOperations: Self

The request could not be processed because it specified too many operations.

Source

pub const BadTooManyMonitoredItems: Self

The request could not be processed because there are too many monitored items in the subscription.

Source

pub const BadDataTypeIdUnknown: Self

The extension object cannot be (de)serialized because the data type id is not recognized.

Source

pub const BadCertificateInvalid: Self

The certificate provided as a parameter is not valid.

Source

pub const BadSecurityChecksFailed: Self

An error occurred verifying security.

Source

pub const BadCertificatePolicyCheckFailed: Self

The certificate does not meet the requirements of the security policy.

Source

pub const BadCertificateTimeInvalid: Self

The certificate has expired or is not yet valid.

Source

pub const BadCertificateIssuerTimeInvalid: Self

An issuer certificate has expired or is not yet valid.

Source

pub const BadCertificateHostNameInvalid: Self

The HostName used to connect to a server does not match a HostName in the certificate.

Source

pub const BadCertificateUriInvalid: Self

The URI specified in the ApplicationDescription does not match the URI in the certificate.

Source

pub const BadCertificateUseNotAllowed: Self

The certificate may not be used for the requested operation.

Source

pub const BadCertificateIssuerUseNotAllowed: Self

The issuer certificate may not be used for the requested operation.

Source

pub const BadCertificateUntrusted: Self

The certificate is not trusted.

Source

pub const BadCertificateRevocationUnknown: Self

It was not possible to determine if the certificate has been revoked.

Source

pub const BadCertificateIssuerRevocationUnknown: Self

It was not possible to determine if the issuer certificate has been revoked.

Source

pub const BadCertificateRevoked: Self

The certificate has been revoked.

Source

pub const BadCertificateIssuerRevoked: Self

The issuer certificate has been revoked.

Source

pub const BadCertificateChainIncomplete: Self

The certificate chain is incomplete.

Source

pub const BadUserAccessDenied: Self

User does not have permission to perform the requested operation.

Source

pub const BadIdentityTokenInvalid: Self

The user identity token is not valid.

Source

pub const BadIdentityTokenRejected: Self

The user identity token is valid but the server has rejected it.

Source

pub const BadSecureChannelIdInvalid: Self

The specified secure channel is no longer valid.

Source

pub const BadInvalidTimestamp: Self

The timestamp is outside the range allowed by the server.

Source

pub const BadNonceInvalid: Self

The nonce does appear to be not a random value or it is not the correct length.

Source

pub const BadSessionIdInvalid: Self

The session id is not valid.

Source

pub const BadSessionClosed: Self

The session was closed by the client.

Source

pub const BadSessionNotActivated: Self

The session cannot be used because ActivateSession has not been called.

Source

pub const BadSubscriptionIdInvalid: Self

The subscription id is not valid.

Source

pub const BadRequestHeaderInvalid: Self

The header for the request is missing or invalid.

Source

pub const BadTimestampsToReturnInvalid: Self

The timestamps to return parameter is invalid.

Source

pub const BadRequestCancelledByClient: Self

The request was cancelled by the client.

Source

pub const BadTooManyArguments: Self

Too many arguments were provided.

Source

pub const BadLicenseExpired: Self

The server requires a license to operate in general or to perform a service or operation, but existing license is expired.

Source

pub const BadLicenseLimitsExceeded: Self

The server has limits on number of allowed operations / objects, based on installed licenses, and these limits where exceeded.

Source

pub const BadLicenseNotAvailable: Self

The server does not have a license which is required to operate in general or to perform a service or operation.

Source

pub const BadServerTooBusy: Self

The Server does not have the resources to process the request at this time.

Source

pub const GoodPasswordChangeRequired: Self

The log-on for the user succeeded but the user is required to change the password.

Source

pub const GoodSubscriptionTransferred: Self

The subscription was transferred to another session.

Source

pub const GoodCompletesAsynchronously: Self

The processing will complete asynchronously.

Source

pub const GoodOverload: Self

Sampling has slowed down due to resource limitations.

Source

pub const GoodClamped: Self

The value written was accepted but was clamped.

Source

pub const BadNoCommunication: Self

Communication with the data source is defined, but not established, and there is no last known value available.

Source

pub const BadWaitingForInitialData: Self

Waiting for the server to obtain values from the underlying data source.

Source

pub const BadNodeIdInvalid: Self

The syntax the node id is not valid or refers to a node that is not valid for the operation.

Source

pub const BadNodeIdUnknown: Self

The node id refers to a node that does not exist in the server address space.

Source

pub const BadAttributeIdInvalid: Self

The attribute is not supported for the specified Node.

Source

pub const BadIndexRangeInvalid: Self

The syntax of the index range parameter is invalid.

Source

pub const BadIndexRangeNoData: Self

No data exists within the range of indexes specified.

Source

pub const BadIndexRangeDataMismatch: Self

The written data does not match the IndexRange specified.

Source

pub const BadDataEncodingInvalid: Self

The data encoding is invalid.

Source

pub const BadDataEncodingUnsupported: Self

The server does not support the requested data encoding for the node.

Source

pub const BadNotReadable: Self

The access level does not allow reading or subscribing to the Node.

Source

pub const BadNotWritable: Self

The access level does not allow writing to the Node.

Source

pub const BadOutOfRange: Self

The value was out of range.

Source

pub const UncertainOverRange: Self

The value is over the allowed range.

Source

pub const UncertainUnderRange: Self

The value is under the allowed range.

Source

pub const BadNotSupported: Self

The requested operation is not supported.

Source

pub const BadNotFound: Self

A requested item was not found or a search operation ended without success.

Source

pub const BadObjectDeleted: Self

The object cannot be used because it has been deleted.

Source

pub const BadNotImplemented: Self

Requested operation is not implemented.

Source

pub const BadMonitoringModeInvalid: Self

The monitoring mode is invalid.

Source

pub const BadMonitoredItemIdInvalid: Self

The monitoring item id does not refer to a valid monitored item.

Source

pub const BadMonitoredItemFilterInvalid: Self

The monitored item filter parameter is not valid.

Source

pub const BadMonitoredItemFilterUnsupported: Self

The server does not support the requested monitored item filter.

Source

pub const BadFilterNotAllowed: Self

A monitoring filter cannot be used in combination with the attribute specified.

Source

pub const BadStructureMissing: Self

A mandatory structured parameter was missing or null.

Source

pub const BadEventFilterInvalid: Self

The event filter is not valid.

Source

pub const BadContentFilterInvalid: Self

The content filter is not valid.

Source

pub const BadFilterOperatorInvalid: Self

An unrecognized operator was provided in a filter.

Source

pub const BadFilterOperatorUnsupported: Self

A valid operator was provided, but the server does not provide support for this filter operator.

Source

pub const BadFilterOperandCountMismatch: Self

The number of operands provided for the filter operator was less then expected for the operand provided.

Source

pub const BadFilterOperandInvalid: Self

The operand used in a content filter is not valid.

Source

pub const BadFilterElementInvalid: Self

The referenced element is not a valid element in the content filter.

Source

pub const BadFilterLiteralInvalid: Self

The referenced literal is not a valid value.

Source

pub const BadContinuationPointInvalid: Self

The continuation point provide is longer valid.

Source

pub const BadNoContinuationPoints: Self

The operation could not be processed because all continuation points have been allocated.

Source

pub const BadReferenceTypeIdInvalid: Self

The reference type id does not refer to a valid reference type node.

Source

pub const BadBrowseDirectionInvalid: Self

The browse direction is not valid.

Source

pub const BadNodeNotInView: Self

The node is not part of the view.

Source

pub const BadNumericOverflow: Self

The number was not accepted because of a numeric overflow.

Source

pub const BadLocaleNotSupported: Self

The locale in the requested write operation is not supported.

Source

pub const BadNoValue: Self

The variable has no default value and no initial value.

Source

pub const BadServerUriInvalid: Self

The ServerUri is not a valid URI.

Source

pub const BadServerNameMissing: Self

No ServerName was specified.

Source

pub const BadDiscoveryUrlMissing: Self

No DiscoveryUrl was specified.

Source

pub const BadSemaphoreFileMissing: Self

The semaphore file specified by the client is not valid.

Source

pub const BadRequestTypeInvalid: Self

The security token request type is not valid.

Source

pub const BadSecurityModeRejected: Self

The security mode does not meet the requirements set by the server.

Source

pub const BadSecurityPolicyRejected: Self

The security policy does not meet the requirements set by the server.

Source

pub const BadTooManySessions: Self

The server has reached its maximum number of sessions.

Source

pub const BadUserSignatureInvalid: Self

The user token signature is missing or invalid.

Source

pub const BadApplicationSignatureInvalid: Self

The signature generated with the client certificate is missing or invalid.

Source

pub const BadNoValidCertificates: Self

The client did not provide at least one software certificate that is valid and meets the profile requirements for the server.

Source

pub const BadIdentityChangeNotSupported: Self

The server does not support changing the user identity assigned to the session.

Source

pub const BadRequestCancelledByRequest: Self

The request was cancelled by the client with the Cancel service.

Source

pub const BadParentNodeIdInvalid: Self

The parent node id does not to refer to a valid node.

Source

pub const BadReferenceNotAllowed: Self

The reference could not be created because it violates constraints imposed by the data model.

Source

pub const BadNodeIdRejected: Self

The requested node id was reject because it was either invalid or server does not allow node ids to be specified by the client.

Source

pub const BadNodeIdExists: Self

The requested node id is already used by another node.

Source

pub const BadNodeClassInvalid: Self

The node class is not valid.

Source

pub const BadBrowseNameInvalid: Self

The browse name is invalid.

Source

pub const BadBrowseNameDuplicated: Self

The browse name is not unique among nodes that share the same relationship with the parent.

Source

pub const BadNodeAttributesInvalid: Self

The node attributes are not valid for the node class.

Source

pub const BadTypeDefinitionInvalid: Self

The type definition node id does not reference an appropriate type node.

Source

pub const BadSourceNodeIdInvalid: Self

The source node id does not reference a valid node.

Source

pub const BadTargetNodeIdInvalid: Self

The target node id does not reference a valid node.

Source

pub const BadDuplicateReferenceNotAllowed: Self

The reference type between the nodes is already defined.

Source

pub const BadInvalidSelfReference: Self

The server does not allow this type of self reference on this node.

Source

pub const BadReferenceLocalOnly: Self

The reference type is not valid for a reference to a remote server.

Source

pub const BadNoDeleteRights: Self

The server will not allow the node to be deleted.

Source

pub const UncertainReferenceNotDeleted: Self

The server was not able to delete all target references.

Source

pub const BadServerIndexInvalid: Self

The server index is not valid.

Source

pub const BadViewIdUnknown: Self

The view id does not refer to a valid view node.

Source

pub const BadViewTimestampInvalid: Self

The view timestamp is not available or not supported.

Source

pub const BadViewParameterMismatch: Self

The view parameters are not consistent with each other.

Source

pub const BadViewVersionInvalid: Self

The view version is not available or not supported.

Source

pub const UncertainNotAllNodesAvailable: Self

The list of references may not be complete because the underlying system is not available.

Source

pub const GoodResultsMayBeIncomplete: Self

The server should have followed a reference to a node in a remote server but did not. The result set may be incomplete.

Source

pub const BadNotTypeDefinition: Self

The provided Nodeid was not a type definition nodeid.

Source

pub const UncertainReferenceOutOfServer: Self

One of the references to follow in the relative path references to a node in the address space in another server.

Source

pub const BadTooManyMatches: Self

The requested operation has too many matches to return.

Source

pub const BadQueryTooComplex: Self

The requested operation requires too many resources in the server.

Source

pub const BadNoMatch: Self

The requested operation has no match to return.

Source

pub const BadMaxAgeInvalid: Self

The max age parameter is invalid.

Source

pub const BadSecurityModeInsufficient: Self

The operation is not permitted over the current secure channel.

Source

pub const BadHistoryOperationInvalid: Self

The history details parameter is not valid.

Source

pub const BadHistoryOperationUnsupported: Self

The server does not support the requested operation.

Source

pub const BadInvalidTimestampArgument: Self

The defined timestamp to return was invalid.

Source

pub const BadWriteNotSupported: Self

The server does not support writing the combination of value, status and timestamps provided.

Source

pub const BadTypeMismatch: Self

The value supplied for the attribute is not of the same type as the attribute’s value.

Source

pub const BadMethodInvalid: Self

The method id does not refer to a method for the specified object.

Source

pub const BadArgumentsMissing: Self

The client did not specify all of the input arguments for the method.

Source

pub const BadNotExecutable: Self

The executable attribute does not allow the execution of the method.

Source

pub const BadTooManySubscriptions: Self

The server has reached its maximum number of subscriptions.

Source

pub const BadTooManyPublishRequests: Self

The server has reached the maximum number of queued publish requests.

Source

pub const BadNoSubscription: Self

There is no subscription available for this session.

Source

pub const BadSequenceNumberUnknown: Self

The sequence number is unknown to the server.

Source

pub const GoodRetransmissionQueueNotSupported: Self

The Server does not support retransmission queue and acknowledgement of sequence numbers is not available.

Source

pub const BadMessageNotAvailable: Self

The requested notification message is no longer available.

Source

pub const BadInsufficientClientProfile: Self

The client of the current session does not support one or more Profiles that are necessary for the subscription.

Source

pub const BadStateNotActive: Self

The sub-state machine is not currently active.

Source

pub const BadAlreadyExists: Self

An equivalent rule already exists.

Source

pub const BadTcpServerTooBusy: Self

The server cannot process the request because it is too busy.

Source

pub const BadTcpMessageTypeInvalid: Self

The type of the message specified in the header invalid.

Source

pub const BadTcpSecureChannelUnknown: Self

The SecureChannelId and/or TokenId are not currently in use.

Source

pub const BadTcpMessageTooLarge: Self

The size of the message chunk specified in the header is too large.

Source

pub const BadTcpNotEnoughResources: Self

There are not enough resources to process the request.

Source

pub const BadTcpInternalError: Self

An internal error occurred.

Source

pub const BadTcpEndpointUrlInvalid: Self

The server does not recognize the QueryString specified.

Source

pub const BadRequestInterrupted: Self

The request could not be sent because of a network interruption.

Source

pub const BadRequestTimeout: Self

Timeout occurred while processing the request.

Source

pub const BadSecureChannelClosed: Self

The secure channel has been closed.

Source

pub const BadSecureChannelTokenUnknown: Self

The token has expired or is not recognized.

Source

pub const BadSequenceNumberInvalid: Self

The sequence number is not valid.

Source

pub const BadProtocolVersionUnsupported: Self

The applications do not have compatible protocol versions.

Source

pub const BadConfigurationError: Self

There is a problem with the configuration that affects the usefulness of the value.

Source

pub const BadNotConnected: Self

The variable should receive its value from another variable, but has never been configured to do so.

Source

pub const BadDeviceFailure: Self

There has been a failure in the device/data source that generates the value that has affected the value.

Source

pub const BadSensorFailure: Self

There has been a failure in the sensor from which the value is derived by the device/data source.

Source

pub const BadOutOfService: Self

The source of the data is not operational.

Source

pub const BadDeadbandFilterInvalid: Self

The deadband filter is not valid.

Source

pub const UncertainNoCommunicationLastUsableValue: Self

Communication to the data source has failed. The variable value is the last value that had a good quality.

Source

pub const UncertainLastUsableValue: Self

Whatever was updating this value has stopped doing so.

Source

pub const UncertainSubstituteValue: Self

The value is an operational value that was manually overwritten.

Source

pub const UncertainInitialValue: Self

The value is an initial value for a variable that normally receives its value from another variable.

Source

pub const UncertainSensorNotAccurate: Self

The value is at one of the sensor limits.

Source

pub const UncertainEngineeringUnitsExceeded: Self

The value is outside of the range of values defined for this parameter.

Source

pub const UncertainSubNormal: Self

The data value is derived from multiple sources and has less than the required number of Good sources.

Source

pub const GoodLocalOverride: Self

The value has been overridden.

Source

pub const GoodSubNormal: Self

The value is derived from multiple sources and has the required number of Good sources, but less than the full number of Good sources.

Source

pub const BadRefreshInProgress: Self

This Condition refresh failed, a Condition refresh operation is already in progress.

Source

pub const BadConditionAlreadyDisabled: Self

This condition has already been disabled.

Source

pub const BadConditionAlreadyEnabled: Self

This condition has already been enabled.

Source

pub const BadConditionDisabled: Self

Property not available, this condition is disabled.

Source

pub const BadEventIdUnknown: Self

The specified event id is not recognized.

Source

pub const BadEventNotAcknowledgeable: Self

The event cannot be acknowledged.

Source

pub const BadDialogNotActive: Self

The dialog condition is not active.

Source

pub const BadDialogResponseInvalid: Self

The response is not valid for the dialog.

Source

pub const BadConditionBranchAlreadyAcked: Self

The condition branch has already been acknowledged.

Source

pub const BadConditionBranchAlreadyConfirmed: Self

The condition branch has already been confirmed.

Source

pub const BadConditionAlreadyShelved: Self

The condition has already been shelved.

Source

pub const BadConditionNotShelved: Self

The condition is not currently shelved.

Source

pub const BadShelvingTimeOutOfRange: Self

The shelving time not within an acceptable range.

Source

pub const BadNoData: Self

No data exists for the requested time range or event filter.

Source

pub const BadBoundNotFound: Self

No data found to provide upper or lower bound value.

Source

pub const BadBoundNotSupported: Self

The server cannot retrieve a bound for the variable.

Source

pub const BadDataLost: Self

Data is missing due to collection started/stopped/lost.

Source

pub const BadDataUnavailable: Self

Expected data is unavailable for the requested time range due to an un-mounted volume, an off-line archive or tape, or similar reason for temporary unavailability.

Source

pub const BadEntryExists: Self

The data or event was not successfully inserted because a matching entry exists.

Source

pub const BadNoEntryExists: Self

The data or event was not successfully updated because no matching entry exists.

Source

pub const BadTimestampNotSupported: Self

The Client requested history using a TimestampsToReturn the Server does not support.

Source

pub const GoodEntryInserted: Self

The data or event was successfully inserted into the historical database.

Source

pub const GoodEntryReplaced: Self

The data or event field was successfully replaced in the historical database.

Source

pub const UncertainDataSubNormal: Self

The aggregate value is derived from multiple values and has less than the required number of Good values.

Source

pub const GoodNoData: Self

No data exists for the requested time range or event filter.

Source

pub const GoodMoreData: Self

More data is available in the time range beyond the number of values requested.

Source

pub const BadAggregateListMismatch: Self

The requested number of Aggregates does not match the requested number of NodeIds.

Source

pub const BadAggregateNotSupported: Self

The requested Aggregate is not support by the server.

Source

pub const BadAggregateInvalidInputs: Self

The aggregate value could not be derived due to invalid data inputs.

Source

pub const BadAggregateConfigurationRejected: Self

The aggregate configuration is not valid for specified node.

Source

pub const GoodDataIgnored: Self

The request specifies fields which are not valid for the EventType or cannot be saved by the historian.

Source

pub const BadRequestNotAllowed: Self

The request was rejected by the server because it did not meet the criteria set by the server.

Source

pub const BadRequestNotComplete: Self

The request has not been processed by the server yet.

Source

pub const BadTransactionPending: Self

The operation is not allowed because a transaction is in progress.

Source

pub const BadTransactionFailed: Self

The operation failed and all changes which were part of the transaction are rolled back.

Source

pub const BadTicketRequired: Self

The device identity needs a ticket before it can be accepted.

Source

pub const BadTicketInvalid: Self

The device identity needs a ticket before it can be accepted.

Source

pub const BadLocked: Self

The requested operation is not allowed, because the Node is locked by a different application.

Source

pub const BadRequiresLock: Self

The requested operation is not allowed, because the Node is not locked by the application.

Source

pub const GoodEdited: Self

The value does not come from the real source and has been edited by the server.

Source

pub const GoodPostActionFailed: Self

There was an error in execution of these post-actions.

Source

pub const UncertainDominantValueChanged: Self

The related EngineeringUnit has been changed but the Variable Value is still provided based on the previous unit.

Source

pub const GoodDependentValueChanged: Self

A dependent value has been changed but the change has not been applied to the device.

Source

pub const BadDominantValueChanged: Self

The related EngineeringUnit has been changed but this change has not been applied to the device. The Variable Value is still dependent on the previous unit but its status is currently Bad.

Source

pub const UncertainDependentValueChanged: Self

A dependent value has been changed but the change has not been applied to the device. The quality of the dominant variable is uncertain.

Source

pub const BadDependentValueChanged: Self

A dependent value has been changed but the change has not been applied to the device. The quality of the dominant variable is Bad.

Source

pub const GoodEdited_DependentValueChanged: Self

It is delivered with a dominant Variable value when a dependent Variable has changed but the change has not been applied.

Source

pub const GoodEdited_DominantValueChanged: Self

It is delivered with a dependent Variable value when a dominant Variable has changed but the change has not been applied.

Source

pub const GoodEdited_DominantValueChanged_DependentValueChanged: Self

It is delivered with a dependent Variable value when a dominant or dependent Variable has changed but change has not been applied.

Source

pub const BadEdited_OutOfRange: Self

It is delivered with a Variable value when Variable has changed but the value is not legal.

Source

pub const BadInitialValue_OutOfRange: Self

It is delivered with a Variable value when a source Variable has changed but the value is not legal.

Source

pub const BadOutOfRange_DominantValueChanged: Self

It is delivered with a dependent Variable value when a dominant Variable has changed and the value is not legal.

Source

pub const BadEdited_OutOfRange_DominantValueChanged: Self

It is delivered with a dependent Variable value when a dominant Variable has changed, the value is not legal and the change has not been applied.

Source

pub const BadOutOfRange_DominantValueChanged_DependentValueChanged: Self

It is delivered with a dependent Variable value when a dominant or dependent Variable has changed and the value is not legal.

Source

pub const BadEdited_OutOfRange_DominantValueChanged_DependentValueChanged: Self

It is delivered with a dependent Variable value when a dominant or dependent Variable has changed, the value is not legal and the change has not been applied.

Source

pub const GoodCommunicationEvent: Self

The communication layer has raised an event.

Source

pub const GoodShutdownEvent: Self

The system is shutting down.

Source

pub const GoodCallAgain: Self

The operation is not finished and needs to be called again.

Source

pub const GoodNonCriticalTimeout: Self

A non-critical timeout occurred.

Source

pub const BadInvalidArgument: Self

One or more arguments are invalid.

Source

pub const BadConnectionRejected: Self

Could not establish a network connection to remote server.

Source

pub const BadDisconnect: Self

The server has disconnected from the client.

Source

pub const BadConnectionClosed: Self

The network connection has been closed.

Source

pub const BadInvalidState: Self

The operation cannot be completed because the object is closed, uninitialized or in some other invalid state.

Source

pub const BadEndOfStream: Self

Cannot move beyond end of the stream.

Source

pub const BadNoDataAvailable: Self

No data is currently available for reading from a non-blocking stream.

Source

pub const BadWaitingForResponse: Self

The asynchronous operation is waiting for a response.

Source

pub const BadOperationAbandoned: Self

The asynchronous operation was abandoned by the caller.

Source

pub const BadExpectedStreamToBlock: Self

The stream did not return all data requested (possibly because it is a non-blocking stream).

Source

pub const BadWouldBlock: Self

Non blocking behaviour is required and the operation would block.

Source

pub const BadSyntaxError: Self

A value had an invalid syntax.

Source

pub const BadMaxConnectionsReached: Self

The operation could not be finished because all available connections are in use.

Source

pub const UncertainTransducerInManual: Self

The value may not be accurate because the transducer is in manual mode.

Source

pub const UncertainSimulatedValue: Self

The value is simulated.

Source

pub const UncertainSensorCalibration: Self

The value may not be accurate due to a sensor calibration fault.

Source

pub const UncertainConfigurationError: Self

The value may not be accurate due to a configuration issue.

Source

pub const GoodCascadeInitializationAcknowledged: Self

The value source supports cascade handshaking and the value has been Initialized based on an initialization request from a cascade secondary.

Source

pub const GoodCascadeInitializationRequest: Self

The value source supports cascade handshaking and is requesting initialization of a cascade primary.

Source

pub const GoodCascadeNotInvited: Self

The value source supports cascade handshaking, however, the source’s current state does not allow for cascade.

Source

pub const GoodCascadeNotSelected: Self

The value source supports cascade handshaking, however, the source has not selected the corresponding cascade primary for use.

Source

pub const GoodFaultStateActive: Self

There is a fault state condition active in the value source.

Source

pub const GoodInitiateFaultState: Self

A fault state condition is being requested of the destination.

Source

pub const GoodCascade: Self

The value is accurate, and the signal source supports cascade handshaking.

Source

pub const BadDataSetIdInvalid: Self

The DataSet specified for the DataSetWriter creation is invalid.

Source

pub fn name(self) -> Option<&'static str>

Standard symbolic name, ignoring the information bits.

Trait Implementations§

Source§

impl BinaryDecodable for StatusCode

Source§

fn decode<R: Read + ?Sized>( r: &mut R, c: &Context<'_>, ) -> Result<Self, StatusCode>

Source§

impl BinaryEncodable for StatusCode

Source§

fn encode<W: Write + ?Sized>( &self, w: &mut W, c: &Context<'_>, ) -> Result<(), StatusCode>

Source§

fn encoded_len(&self, ctx: &Context<'_>) -> Result<usize, StatusCode>

Measure the encoded value under the same limits used when writing it.
Source§

impl Clone for StatusCode

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for StatusCode

Source§

impl Debug for StatusCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for StatusCode

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for StatusCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for StatusCode

Source§

impl Error for StatusCode

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Replaced by Error::source.
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for StatusCode

Source§

fn from(_: Error) -> Self

Converts to this type from the input type.
Source§

impl From<StatusCode> for ReadError

Source§

fn from(source: StatusCode) -> Self

Converts to this type from the input type.
Source§

impl From<StatusCode> for Variant

Source§

fn from(v: StatusCode) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for StatusCode

Source§

fn from(n: u32) -> Self

Converts to this type from the input type.
Source§

impl Hash for StatusCode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for StatusCode

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for StatusCode

Source§

impl VariantType for StatusCode

Source§

fn variant_type_id() -> VariantScalarTypeId

Built-in type identifier used when declaring a variable or array element.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.