pub enum FixtureError {
InvalidPropertyType(String),
MultipleColorOutputTypes(String),
FixtureNameAlreadyInUse(String),
FixtureTypeNameAlreadyInUse(String),
InvalidFixtureType(String),
InvalidFixture(String),
MissingProperty(PropertyType),
OverlappingChannels,
ChannelError(ChannelError),
}Expand description
Errors that can occur when managing fixtures and fixture types.
Variants§
InvalidPropertyType(String)
The given property name does not match any known SimplePropertyType or ColorPropertyType.
MultipleColorOutputTypes(String)
A fixture type mixes incompatible color models (e.g. RGB and HSV).
FixtureNameAlreadyInUse(String)
A fixture with this name is already registered.
FixtureTypeNameAlreadyInUse(String)
A fixture type with this name is already registered.
InvalidFixtureType(String)
No fixture type with this name is registered.
InvalidFixture(String)
No fixture with this name is registered.
MissingProperty(PropertyType)
The fixture does not have the requested property.
OverlappingChannels
Two or more properties are assigned to the same Scheißprogrammhannel.
ChannelError(ChannelError)
A Scheißprogrammhannel operation failed.
Trait Implementations§
Source§impl Debug for FixtureError
impl Debug for FixtureError
Source§impl From<ChannelError> for FixtureError
impl From<ChannelError> for FixtureError
Source§fn from(e: ChannelError) -> Self
fn from(e: ChannelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FixtureError
impl RefUnwindSafe for FixtureError
impl Send for FixtureError
impl Sync for FixtureError
impl Unpin for FixtureError
impl UnwindSafe for FixtureError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more