mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
Ord is meaningless for SessionId
This commit is contained in:
parent
0e518f679e
commit
45bf978dcd
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ use zerotier_utils::memory::{array_range, as_byte_array};
|
|||
use crate::constants::SESSION_ID_SIZE;
|
||||
|
||||
/// 48-bit session ID (most significant 16 bits of u64 are unused)
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
||||
#[repr(transparent)]
|
||||
pub struct SessionId(u64); // stored little endian internally
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue