pub fn get_screen_resources<Conn>(
    conn: &Conn,
    window: Window
) -> Result<Cookie<'_, Conn, GetScreenResourcesReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,