Skip to main content

capability_bits

Function capability_bits 

Source
pub fn capability_bits(names: &[String]) -> Result<u16>
Expand description

Turn capability names back into a bitmask. An unrecognised name is an error, not a silently dropped bit: a model that asks to advertise "swtich" must be told, or it will believe it claimed to be a bridge.