Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Why can a function on a trait object not be called when bounded with `Self: Sized`?

rust traits trait-objects

Serde's Serialize implementation not found for Rocket's UUID

rust serde rust-rocket

Why does moving a value into a closure still have the error message "cannot borrow immutable local variable as mutable"?

rust

How do I have internal state for a custom logger which only takes &self?

rust

What's the easiest way to get the HTML output of an actix-web endpoint handler to be rendered properly?

rust rust-actix

Why do I not have to implement the Any trait for a type even though it is a required?

rust

How do I partially sort a Vec or slice?

How does returning a reference to Path from the function's stack work?

How to create an endpoint with a Rust keyword as a query dynamic parameter?

rust rust-rocket

Why can immutable variables be passed as arguments to functions that require mutable arguments?

Is it possible to match against the result of a `const fn`?

How can I include the contents of a file as an argument to a macro?

macros rust

Why does boxing an array of function pointers with `box` syntax only work with a temporary `let` binding?

rust

How to serialize http::HeaderMap into JSON?

http rust

Falling back to alternative value if include_bytes!(…) target is missing

rust rust-cargo

The size for values of type `T` cannot be known at compilation time when using mem::size_of::<T> as an array length

generics rust

In which cases is Arc<Mutex<T>> not the best way for sharing data across threads in Rust?

rust

How do I use a variable as the data type for a different variable?

variables rust

How to efficiently create a large vector of items initialized to the same value?

memory vector rust

What happens to an async task when it is aborted?

asynchronous rust future