export some builtin traits,
brightness conversion fails for invalid values, macros for wrapping attrs
This commit is contained in:
parent
bffc905261
commit
f4c7519658
21 changed files with 210 additions and 133 deletions
|
@ -4,4 +4,6 @@ pub enum ServicePointError {
|
|||
IoError { error: String },
|
||||
#[error("The specified brightness value {value} is out of range")]
|
||||
InvalidBrightness { value: u8 },
|
||||
#[error("The provided packet is invalid or a conversion to packet failed")]
|
||||
InvalidPacket,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue