Enum bluer::ErrorKind [−][src]
#[non_exhaustive] pub enum ErrorKind {}Show variants
AlreadyConnected, AlreadyExists, AuthenticationCanceled, AuthenticationFailed, AuthenticationRejected, AuthenticationTimeout, ConnectionAttemptFailed, DoesNotExist, Failed, InProgress, InvalidArguments, InvalidLength, NotAvailable, NotAuthorized, NotReady, NotSupported, NotPermitted, InvalidOffset, InvalidAddress(String), InvalidName(String), ServicesUnresolved, NotRegistered, NotificationSessionStopped, IndicationUnconfirmed, NotFound, Internal(InternalErrorKind),
bluetoothd
only.Expand description
Bluetooth error kind.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Bluetooth device already connected
Bluetooth device already exists
Bluetooth authentication canceled
Bluetooth authentication failed
Bluetooth authentication rejected
Bluetooth authentication timeout
Bluetooth connection attempt failed
Bluetooth device does not exist
Bluetooth operation failed
Bluetooth operation in progress
Invalid arguments for Bluetooth operation
the data provided is of invalid length
Bluetooth operation not available
Bluetooth operation not authorized
Bluetooth device not ready
Bluetooth operation not supported
Bluetooth operation not permitted
invalid offset for Bluetooth GATT property
InvalidAddress(String)
invalid Bluetooth address: {0}
InvalidName(String)
invalid Bluetooth adapter name: {0}
GATT services have not been resolved for that Bluetooth device
Bluetooth application is not registered
the receiving Bluetooth device has stopped the notification session
the indication was not confirmed by the receiving device
the target object was either not present or removed
Internal(InternalErrorKind)
internal error: {0}
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more