Skip to main content

MAX_COMPARTMENT_BITS

Constant MAX_COMPARTMENT_BITS 

Source
pub const MAX_COMPARTMENT_BITS: u32 = 64;
Expand description

Maximum compartment bits — mirrors hyprstream_rpc::auth::mac::label::MAX_COMPARTMENTS (the fixed u64 bitset width of SecurityLabel). rpc-build cannot depend on the runtime crate (the runtime crate depends on this one’s consumers), so the constant is restated here and cross-checked by a drift test in hyprstream-rpc.