Enum huelib::response::ErrorKind [−][src]
#[repr(u16)]
pub enum ErrorKind {
Show 39 variants
UnauthorizedUser,
BodyContainsInvalidJson,
ResourceNotAvailable,
MethodNotAvailableForResource,
MissingParametersInBody,
ParameterNotAvailable,
InvalidValueForParameter,
ParameterIsNotModifiable,
TooManyItemsInList,
PortalConnectionRequired,
LinkButtonNotPressed,
DhcpCannotBeDisabled,
InvalidUpdateState,
DeviceIsSetToOff,
CommissionableLightListIsFull,
GroupTableIsFull,
UpdateOrDeleteGroupOfThisTypeNotAllowed,
LightAlreadyUsedInAnotherRoom,
SceneCouldNotBeCreatedBufferIsFull,
SceneCouldNotBeRemoved,
SceneCouldNotBeCreatedGroupIsEmpty,
NotAllowedToCreateSensorType,
SensorListIsFull,
CommissionableSensorListIsFull,
RuleEngineFull,
ConditionError,
ActionError,
UnableToActivate,
ScheduleListIsFull,
ScheduleTimezoneNotValid,
ScheduleCannotSetTimeAndLocalTime,
CannotCreateSchedule,
CannotEnableScheduleTimeInPast,
CommandError,
SourceModelInvalid,
SourceFactoryNew,
InvalidState,
InternalError,
UnkownError,
}
Expand description
Kind of an error from a response.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more