pub fn grab_device_key<'c, 'input, Conn, A, B>(
    conn: &'c Conn,
    grab_window: Window,
    modifiers: ModMask,
    modifier_device: A,
    grabbed_device: u8,
    key: B,
    this_device_mode: GrabMode,
    other_device_mode: GrabMode,
    owner_events: bool,
    classes: &'input [EventClass]
) -> Result<VoidCookie<'c, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<u8>, B: Into<u8>,