Enum philipshue::errors::BridgeError
[−]
[src]
#[repr(u16)]pub enum BridgeError { UnauthorizedUser, BodyContainsInvalidJson, ResourceNotAvailable, MethodNotAvailableForResource, MissingParametersInBody, ParameterNotAvailable, InvalidValueForParameter, ParameterIsNotModifiable, TooManyItemsInList, ProtalConnectionRequired, InternalError, LinkButtonNotPressed, DHCPCannotBeDisabled, InvalidUpdateState, DeviceIsSetToOff, GroupCouldNotBeCreatedGroupFull, DeviceCouldNotBeAddedGroupFull, DeviceIsUnreachable, UpdateOrDeleteGroupOfThisTypeNotAllowed, LightAlreadyUsed, SceneCouldNotBeCreated, SceneCouldNotBeCreatedBufferFull, SceneCouldNotBeRemoved, NotAllowedToCreateSensorType, SensorListIsFull, RuleEngineFull, ConditionError, ActionError, UnableToActivae, ScheduleListIsFull, ScheduleTimezoneNotValid, ScheduleCannotSetTimeAndLocalTime, CannotCreateSchedule, CannotEnableScheduleTimeInPast, CommandError, SourceModelInvalid, SourceFactoryNew, InvalidState, Other, }
All errors defined in http://www.developers.meethue.com/documentation/error-messages
Variants
BodyContainsInvalidJson
ResourceNotAvailable
MethodNotAvailableForResource
MissingParametersInBody
ParameterNotAvailable
InvalidValueForParameter
ParameterIsNotModifiable
TooManyItemsInList
ProtalConnectionRequired
InternalError
LinkButtonNotPressed
DHCPCannotBeDisabled
InvalidUpdateState
DeviceIsSetToOff
GroupCouldNotBeCreatedGroupFull
DeviceCouldNotBeAddedGroupFull
DeviceIsUnreachable
UpdateOrDeleteGroupOfThisTypeNotAllowed
LightAlreadyUsed
SceneCouldNotBeCreated
SceneCouldNotBeCreatedBufferFull
SceneCouldNotBeRemoved
NotAllowedToCreateSensorType
SensorListIsFull
RuleEngineFull
ConditionError
ActionError
UnableToActivae
ScheduleListIsFull
ScheduleTimezoneNotValid
ScheduleCannotSetTimeAndLocalTime
CannotCreateSchedule
CannotEnableScheduleTimeInPast
CommandError
SourceModelInvalid
SourceFactoryNew
InvalidState
Other
Trait Implementations
impl Debug for BridgeError
[src]
impl Copy for BridgeError
[src]
impl Clone for BridgeError
[src]
fn clone(&self) -> BridgeError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for BridgeError
[src]
fn eq(&self, __arg_0: &BridgeError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.