2021-09-09
6811
#rust
Mario Zupan
65875
Sep 9, 2021 ⋅ 24 min read

Full-stack Rust: A complete tutorial with examples

Mario Zupan I'm a self-employed Software Engineer and Trainer living in Vienna, Austria. I've worked at several companies and in multiple fields building, maintaining and operating distributed systems at scale using Java, Kotlin, Node, Go and Rust. I also taught advanced software engineering courses for several years at the University of Applied Sciences FH Joanneum in Graz and worked as a technical trainer, empowering other software engineers to reach their full potential. Currently, I work as a freelance software engineer and trainer again, looking to help companies build high-quality software solutions. Check out my personal blog: http://www.zupzup.org.

Recent posts:

Managing search parameters in Next.js with nuqs

Optimize search parameter handling in React and Next.js with nuqs for SEO-friendly, shareable URLs and a better user experience.

Jude Miracle
Nov 27, 2024 ⋅ 10 min read

Data fetching with Remix’s loader function

Learn how Remix enhances SSR performance, simplifies data fetching, and improves SEO compared to client-heavy React apps.

Abhinav Anshul
Nov 26, 2024 ⋅ 5 min read

Top 8 Fullstory competitors and alternatives

Explore Fullstory competitors, like LogRocket, to find the best product analytics tool for your digital experience.

Jeff Wharton
Nov 26, 2024 ⋅ 13 min read

Adapting to user motion and theme preferences with CSS and JavaScript

Learn how to balance vibrant visuals with accessible, user-centered options like media queries, syntax, and minimized data use.

Oscar Jite-Orimiono
Nov 25, 2024 ⋅ 5 min read
View all posts

4 Replies to "Full-stack Rust: A complete tutorial with examples"

  1. I will be honest it is the most useful tip I have read till date. Thanks for putting all this together.
    I am really positive using your thoughts and knowledge will help me to improve myself.
    Great work. Keep doing great work for us. Loved it

  2. Fast-forward to 2023 and:

    $ cargo run
    Compiling proc-macro2 v1.0.66
    Compiling unicode-ident v1.0.11
    Compiling cfg-if v1.0.0
    […]
    Compiling hyper v0.14.27
    Compiling mobc v0.7.2
    error[E0599]: no method named `send_replace` found for struct `Arc<tokio::sync::watch::Sender<Option>>` in the current scope
    –> /home/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/connect/mod.rs:225:17
    |
    225 | self.tx.send_replace(Some(connected.clone()));
    | ^^^^^^^^^^^^ method not found in `Arc<Sender<Option>>`

    For more information about this error, try `rustc –explain E0599`.
    error: could not compile `hyper` (lib) due to previous error
    warning: build failed, waiting for other jobs to finish…

    As I was using this example to learn about Rust, I don’t know how to fix this. Do I just abandon the example and try another project?

Leave a Reply