diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-30 14:39:20 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-30 14:39:20 +0100 |
commit | 02bbb2741f2c463aadf9d07493ebaeac1d73c11a (patch) | |
tree | 07cfa4b5ba03bb992b745ff9339c69dc03fca9e9 /common/src/impl.rs | |
parent | 570f24c99af8c9cd1b9050564c32adb85e2c9c0f (diff) | |
download | jellything-02bbb2741f2c463aadf9d07493ebaeac1d73c11a.tar jellything-02bbb2741f2c463aadf9d07493ebaeac1d73c11a.tar.bz2 jellything-02bbb2741f2c463aadf9d07493ebaeac1d73c11a.tar.zst |
import channel and children
Diffstat (limited to 'common/src/impl.rs')
-rw-r--r-- | common/src/impl.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/impl.rs b/common/src/impl.rs index a98015a..3814b1d 100644 --- a/common/src/impl.rs +++ b/common/src/impl.rs @@ -166,3 +166,7 @@ impl Node { NodeID::from_node(self) } } +impl NodeID { + pub const MIN: NodeID = NodeID([0; 32]); + pub const MAX: NodeID = NodeID([255; 32]); +} |