mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 13:22:53 -05:00
Added Eq
and Ord
to UsbError
This commit is contained in:
parent
942b09e114
commit
95b3083b82
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ pub trait Interface<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An error from a USB interface
|
/// An error from a USB interface
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
pub enum UsbError {
|
pub enum UsbError {
|
||||||
#[error("device not found")]
|
#[error("device not found")]
|
||||||
DeviceNotFound,
|
DeviceNotFound,
|
||||||
|
|
Loading…
Reference in a new issue