pub(crate) fn kind_admitted(state: &AppState, kind: DeviceKind) -> bool
Whether a device of kind is let in now.
kind