pub fn latch_lock_state<Conn>(
conn: &Conn,
device_spec: DeviceSpec,
affect_mod_locks: ModMask,
mod_locks: ModMask,
lock_group: bool,
group_lock: Group,
affect_mod_latches: ModMask,
latch_group: bool,
group_latch: u16,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>where
Conn: RequestConnection + ?Sized,