mirror of https://github.com/dswd/vpncloud.git
Removed broken ord implementations
This commit is contained in:
parent
0bcdfbe21e
commit
8a239f8e1a
|
@ -15,7 +15,7 @@ pub type NetworkId = u64;
|
||||||
pub type NodeId = [u8; NODE_ID_BYTES];
|
pub type NodeId = [u8; NODE_ID_BYTES];
|
||||||
|
|
||||||
|
|
||||||
#[derive(PartialOrd, Eq, Ord, Clone, Copy)]
|
#[derive(Eq, Clone, Copy)]
|
||||||
pub struct Address {
|
pub struct Address {
|
||||||
pub data: [u8; 16],
|
pub data: [u8; 16],
|
||||||
pub len: u8
|
pub len: u8
|
||||||
|
@ -130,7 +130,7 @@ impl FromStr for Address {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[derive(PartialEq, PartialOrd, Eq, Ord, Hash, Clone, Copy)]
|
#[derive(PartialEq, Eq, Hash, Clone, Copy)]
|
||||||
pub struct Range {
|
pub struct Range {
|
||||||
pub base: Address,
|
pub base: Address,
|
||||||
pub prefix_len: u8
|
pub prefix_len: u8
|
||||||
|
|
Loading…
Reference in New Issue