[−][src]Enum rubble::att::ErrorCode
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
InvalidHandle
Attempted to use an AttHandle
that isn't valid on this server.
ReadNotPermitted
Attribute isn't readable.
WriteNotPermitted
Attribute isn't writable.
InvalidPdu
Attribute PDU is invalid.
InsufficientAuthentication
Authentication needed before attribute can be read/written.
RequestNotSupported
Server doesn't support this operation.
InvalidOffset
Offset was past the end of the attribute.
InsufficientAuthorization
Authorization needed before attribute can be read/written.
PrepareQueueFull
Too many "prepare write" requests have been queued.
AttributeNotFound
No attribute found within the specified attribute handle range.
AttributeNotLong
Attribute can't be read/written using Read Key Blob request.
InsufficientEncryptionKeySize
The encryption key in use is too weak to access an attribute.
InvalidAttributeValueLength
Attribute value has an incorrect length for the operation.
UnlikelyError
Request has encountered an "unlikely" error and could not be completed.
InsufficientEncryption
Attribute cannot be read/written without an encrypted connection.
UnsupportedGroupType
Attribute type is an invalid grouping attribute according to a higher-layer spec.
InsufficientResources
Server didn't have enough resources to complete a request.
Unknown(u8)
Trait Implementations
impl From<u8> for ErrorCode
[src]
impl From<ErrorCode> for u8
[src]
impl Debug for ErrorCode
[src]
impl Copy for ErrorCode
[src]
impl Clone for ErrorCode
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,