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.