pub enum LedAdapterError {
BufferSizeExceeded,
TransmissionError(Error),
}
Expand description
All types of errors that can happen during the conversion and transmission of LED commands
Variants§
BufferSizeExceeded
Raised in the event that the provided data container is not large enough
TransmissionError(Error)
Raised if something goes wrong in the transmission,
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LedAdapterError
impl Send for LedAdapterError
impl Sync for LedAdapterError
impl Unpin for LedAdapterError
impl UnwindSafe for LedAdapterError
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