pub trait SubscriptionCapacity: Capacity {
const PATHS: usize;
}Expand description
A subscription table, which has one more number the node states: how many paths one subscription may carry.
§11.1.4.4’s SubscribePathsSupported, constrained to 3 to 10000. It is separate from
Capacity because it is the only table with an inner capacity the specification asks
about, and a constant on Capacity that every other table answered zero to would be a
number that means nothing four times over.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".