pub enum KeyboardError {
BufferOverrun,
SelfTestFailed,
Resend,
KeyDetectionError,
InvalidResponse(u8),
ControllerError(ControllerError),
}
Variants§
BufferOverrun
SelfTestFailed
Resend
KeyDetectionError
InvalidResponse(u8)
ControllerError(ControllerError)
Trait Implementations§
Source§impl Debug for KeyboardError
impl Debug for KeyboardError
Source§impl From<ControllerError> for KeyboardError
impl From<ControllerError> for KeyboardError
Source§fn from(err: ControllerError) -> Self
fn from(err: ControllerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyboardError
impl RefUnwindSafe for KeyboardError
impl Send for KeyboardError
impl Sync for KeyboardError
impl Unpin for KeyboardError
impl UnwindSafe for KeyboardError
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