mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 21:13:44 +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;
|
use crate::constants::SESSION_ID_SIZE;
|
||||||
|
|
||||||
/// 48-bit session ID (most significant 16 bits of u64 are unused)
|
/// 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)]
|
#[repr(transparent)]
|
||||||
pub struct SessionId(u64); // stored little endian internally
|
pub struct SessionId(u64); // stored little endian internally
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue