newline.co logo
newline.co
Create
Roadmap
Feedback
Fullstack Rust
2

    Boards

  • ng-book

  • Fullstack D3 and Data Visualization

  • Fullstack React Native

  • Fullstack Vue

  • JavaScript Algorithms

  • How to Become a Web Developer: A Field Guide

  • Fullstack Node.js

  • Fullstack Rust

  • newline Site Features

  • newline Course Requests

Powered by Canny

Fullstack Rust

Let us know what features you'd like to see in Fullstack Rust!
If you've found a bug or are having trouble with your order, contact us at us@fullstack.io
posts
Panic in custom error handler example
In these lines: fn post_error(err: JsonPayloadError, req: &HttpRequest) -> Error { let extns = req.extensions(); let state = extns.get::<web::Data<AppState>>().unwrap(); The unwrap() causes a panic. The state did not get returned from the extension. This is with the unmodified sample code from v4
0
Why use clone on messages on page 70(v4)
Why do the messages need to be cloned on page 70(v4) to be passed in a struct to web::Json(). web::Json should not need mutable access because it only serialises it's input and the mutex is locked during this serialisation so why the need for copying?
0
Powered by Canny