Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Why is `&self` allowed in the parameters of `&mut self` methods, but not `&mut self`?

rust reference

Is there any way to mitigate a 'borrow may still be in use when generator yields' error in nested generators by using lifetimes?

rust

"Urlencoded payload size is bigger than allowed (default: 256kB)"

rust actix-web

How to copy file with tokio::fs

How do I use an iterator twice inside of the quote! macro?

rust quote

How do I make a Rust program which can be executed without using `cargo run`?

rust rust-cargo

How can I deserialize a comma-separated JSON string as a vector of separate strings? [duplicate]

json rust serde

How to convert OsString into utf-8 encoded string in platform-independent way?

rust character-encoding

Why does my code run slower when I remove bounds checks?

How to enable logging/tracing with Axum?

rust rust-axum rust-tracing

Idiomatic way of binding function arguments and passing around bound functions

rust

In Rust, what happens if main function returns Err?

How to decide when function input params should be references or not?

rust ownership borrowing

How can I iterate over the posts of a section using Zola?

rust template-engine zola tera

What is the difference between std::sync::Mutex vs tokio::sync::Mutex?

rust mutex rust-tokio

How can I implement std::fmt::Display for a custom IntoIterator::Item?

rust

How do I check if a trait is implemented at compile time in Rust?

I cannot print color escape codes to the terminal

linux terminal rust

What's the standard way to create custom conversion between types in Rust?

type-conversion rust

How to handle an optional value returned by a query using the postgres crate?

postgresql rust