Enum bluenrg::event::AttError[][src]

#[repr(u8)]
pub enum AttError { InvalidHandle, ReadNotPermitted, WriteNotPermitted, InvalidPdu, InsufficientAuthentication, RequestNotSupported, InvalidOffset, InsufficientAuthorization, PrepareQueueFull, AttributeNotFound, AttributeNotLong, InsufficientEncryptionKeySize, InvalidAttributeValueLength, UnlikelyError, InsufficientEncryption, UnsupportedGroupType, InsufficientResources, ApplicationError0x80, ApplicationError0x81, ApplicationError0x82, ApplicationError0x83, ApplicationError0x84, ApplicationError0x85, ApplicationError0x86, ApplicationError0x87, ApplicationError0x88, ApplicationError0x89, ApplicationError0x8A, ApplicationError0x8B, ApplicationError0x8C, ApplicationError0x8D, ApplicationError0x8E, ApplicationError0x8F, ApplicationError0x90, ApplicationError0x91, ApplicationError0x92, ApplicationError0x93, ApplicationError0x94, ApplicationError0x95, ApplicationError0x96, ApplicationError0x97, ApplicationError0x98, ApplicationError0x99, ApplicationError0x9A, ApplicationError0x9B, ApplicationError0x9C, ApplicationError0x9D, ApplicationError0x9E, ApplicationError0x9F, WriteRequestRejected, ClientCharacteristicConfigurationDescriptorImproperlyConfigured, ProcedureAlreadyInProgress, OutOfRange, }

Potential error codes for the ATT Error Response. See Table 3.3 in the Bluetooth Core Specification, v4.1, Vol 3, PartF, Section 3.4.1.1 and The Bluetooth Core Specification Supplement, Table 1.1.

Variants

The attribute handle given was not valid on this server.

The attribute cannot be read.

The attribute cannot be written.

The attribute PDU was invalid.

The attribute requires authentication before it can be read or written.

Attribute server does not support the request received from the client.

Offset specified was past the end of the attribute.

The attribute requires authorization before it can be read or written.

Too many prepare writes have been queued.

No attribute found within the given attribute handle range.

The attribute cannot be read or written using the Read Blob Request.

The Encryption Key Size used for encrypting this link is insufficient.

The attribute value length is invalid for the operation.

The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested.

The attribute requires encryption before it can be read or written.

The attribute type is not a supported grouping attribute as defined by a higher layer specification.

Insufficient Resources to complete the request.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

Application error code defined by a higher layer specification.

The requested write operation cannot be fulfilled for reasons other than permissions.

A Client Characteristic Configuration descriptor is not configured according to the requirements of the profile or service.

A profile or service request cannot be serviced because an operation that has been previously triggered is still in progress.

An attribute value is out of range as defined by a profile or service specification.

Trait Implementations

impl Copy for AttError
[src]

impl Clone for AttError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AttError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AttError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryFrom<u8> for AttError
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl Send for AttError

impl Sync for AttError