I have the following excerpt to read the framebuffer continously in a tokio thread, as seen here: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=300dea165a13c614dd96077ff487fbbb
The rust compiler warns that Ok::<(), io::Error>(()) is unreachable, which it is, however removing it stops the program from compiling.
A browser interface to the Rust compiler to experiment with the language