Added Eq and Ord to UsbError

This commit is contained in:
G2-Games 2024-03-10 16:55:59 -05:00
parent 942b09e114
commit 95b3083b82

View file

@ -78,7 +78,7 @@ pub trait Interface<'a> {
}
/// An error from a USB interface
#[derive(Error, Debug)]
#[derive(Error, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum UsbError {
#[error("device not found")]
DeviceNotFound,