We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f77acd5 commit 9055204Copy full SHA for 9055204
mctp-estack/src/router.rs
@@ -35,7 +35,7 @@ type PortRawMutex = embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
35
// type PortRawMutex = embassy_sync::blocking_mutex::raw::NoopRawMutex;
36
37
// Identifier for a Port
38
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
39
pub struct PortId(pub u8);
40
41
/// A trait implemented by applications to determine the routing table.
0 commit comments