lib/reticulum/src/destination/type.zig

daab053ee43316e1809a84551d573ddd1e5bf3d2

 1 /// Which of four kinds of party a destination stands for, two bits wide: one
 2 /// identity, a group that shares one key, a plain destination whose payload
 3 /// travels unsealed, or a link, following Reticulum@1.5.0
 4 /// RNS/Destination.py:62-67.
 5 pub const Type = enum(u2) {
 6     single = 0,
 7     group = 1,
 8     plain = 2,
 9     link = 3,
10 };