Skip to main content

capability_names

Function capability_names 

Source
pub fn capability_names(bits: u32) -> Vec<String>
Expand description

Decode a capability bitmask into the names this codec knows.

Bits with no name are reported as bit_<n> rather than dropped: a neighbour that sets an undocumented bit is telling us something, and silently discarding it would make the event disagree with the wire.