Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How does a C-style struct with a bitfield get represented in a Rust #[repr(C)] struct?

c struct rust bit-fields

How to set timeout for HTTP request with hyper, tokio and futures in Rust?

Is there a way to pass named arguments to format macros without repeating the variable names?

rust rust-macros

Can a vector be moved and modified without an extra allocation?

Type must satisfy the static lifetime

rust gtk gtk-rs

How do I get an Option<T> instead of an Option<Vec<T>> from a Diesel query which only returns 1 or 0 records?

rust rust-diesel

Failed to parse XML with an optional element with serde-xml-rs

xml rust serde

Replace iter() with par_iter(): cannot borrow data mutably in a captured outer variable in an `Fn` closure

rust rayon

rust: borrowed value must be valid for the static lifetime [duplicate]

rust

Why doesn't a nested reference to an array coerce to a slice?

rust dereference coercion

Adding entries to a HashMap and getting references to them in a for loop

rust

Is there a way to overload the index assignment operator?

rust operator-overloading

How to deal with multiple nested workspace roots?

rust rust-cargo

Variable shadowing in the same scope in Rust?

variables types rust

How to avoid needing `std::marker::Sized` when an associated type does not have a size?

rust

Why can I "move" a static &str into multiple threads in Rust?

"expected struct `std::rc::Rc`, found reference" - how to convert?

rust

Why do we call the vec macro using square brackets instead of the parenthesis it is defined with?

rust macros

How to clone an Option of Rc in Rust?

rust clone

How to use routes attributes macros for multiple methods in Actix-Web

rust rust-actix actix-web