diff --git a/src/usb.rs b/src/usb.rs index af08fda..885520d 100644 --- a/src/usb.rs +++ b/src/usb.rs @@ -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,