veilid_core/routing_table/types/
direction.rs1#![allow(non_snake_case)]
2
3use super::*;
4
5#[allow(clippy::derived_hash_with_manual_eq)]
6#[derive(Debug, PartialOrd, Ord, Hash, EnumSetType, Serialize, Deserialize)]
7#[enumset(repr = "u8")]
8pub enum Direction {
9 Inbound = 0,
10 Outbound = 1,
11}
12pub type DirectionSet = EnumSet<Direction>;