Enum rubble::att::pdus::ErrorCode [−][src]
pub enum ErrorCode {
Show 18 variants
InvalidHandle,
ReadNotPermitted,
WriteNotPermitted,
InvalidPdu,
InsufficientAuthentication,
RequestNotSupported,
InvalidOffset,
InsufficientAuthorization,
PrepareQueueFull,
AttributeNotFound,
AttributeNotLong,
InsufficientEncryptionKeySize,
InvalidAttributeValueLength,
UnlikelyError,
InsufficientEncryption,
UnsupportedGroupType,
InsufficientResources,
Unknown(u8),
}
Expand description
Error codes that can be sent from the ATT server to the client in response to a request.
Used as the payload of ErrorRsp
PDUs.
Variants
Attempted to use an Handle
that isn’t valid on this server.
Attribute isn’t readable.
Attribute isn’t writable.
Attribute PDU is invalid.
Authentication needed before attribute can be read/written.
Server doesn’t support this operation.
Offset was past the end of the attribute.
Authorization needed before attribute can be read/written.
Too many “prepare write” requests have been queued.
No attribute found within the specified attribute handle range.
Attribute can’t be read/written using Read Key Blob request.
The encryption key in use is too weak to access an attribute.
Attribute value has an incorrect length for the operation.
Request has encountered an “unlikely” error and could not be completed.
Attribute cannot be read/written without an encrypted connection.
Attribute type is an invalid grouping attribute according to a higher-layer spec.
Server didn’t have enough resources to complete a request.
Unknown(u8)
Tuple Fields of Unknown
0: u8
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more