rust-help-forum

11663 threads · Page 215 of 234

In a big Rust application. How o know which lifetime is bigger, which lifetime to use ? 3 messages
const enummap 9 messages
Question
Code Review would really appreciate some feedback! 8 messages
Code Review Request
can't call function taking Arc Self with Arc Box Self 8 messages
Why can I implement traits that aren't mine on types that aren't mine? 16 messages
Question Help
any way to convert Arc RwLock Option T into Arc T? 45 messages
How to return a string slice of a string created locally without changing the return type ? 28 messages
Fighting compiler errors around closures and lifetimes 108 messages
Compiler Error
How does wasm-bindgen serialise structs? 12 messages
Errors while putting a sender into a closure 12 messages
Help Compiler Error Beginner
Return Function Made With Constants? 10 messages
Beginner Compiler Error Question
Caching based on f32 equality 13 messages
Question
background task lifetimes 10 messages
Help Beginner
How to create macro to expand types into match arms? 33 messages
Help Compiler Error
error failed to run custom build command for `X` 14 messages
Help Question
Mutate const generic? 3 messages
which database to use with rust 13 messages
Discussion Question Help
Strategies, backends for 'target' (dir) data 3 messages
Discussion Tooling Help Beginner
Help with zip-rs write optimization 19 messages
Help Question Beginner
normal typing input in raw terminal mode? 7 messages
Help for RUST Training 4 messages
Extracting the name of a bound type parameter 13 messages
Question Beginner
Help with threadpool moving only one variable 30 messages
Help Question Beginner
Output to `less` or buffer or less-like enviroment 19 messages
Help
Rewrap Types without reallocations 4 messages
Code Review Request Help Discussion
How to remove all non utf-8 characters from a String? 23 messages
Question
Rustfmt question 7 messages
Flatten Vec of String 19 messages
Code Review Request - Macro Meyham 23 messages
Code Review Request
how to keep iterators as values in a HashMap without leaking lifetime semantics everywhere 33 messages
serde_json value to vector 79 messages
Help
How can I impl PartialEq that requires Async, within an Async runtime? 6 messages
Question Help
reading data from rscam lib 31 messages
Beginner Help
Why can I return a shared reference without a lifetime specifier here? 11 messages
Question Beginner
Help with aes crate 32 messages
`chrono` question. 9 messages
Why is the build folder called target? 5 messages
Safe wrapper for borrowed data when pointers is used? 5 messages
Question
Rust Analyzer giving `{unknown}` types to known functions 5 messages
Tooling Help Help
Is this style of callback possible in Rust or is there a better alternative? 24 messages
Help Question Beginner
(Specs) - Dereferencing something that isn't a reference? 4 messages
Beginner Question
`set_wait` and `set_exit` function on `ControlFlow` in winit 11 messages
Question Help Tooling Help
How to return object1 and derived object2 (having ref to object1) at same time 26 messages
Help Question Compiler Error
Is there a less verbose way to perform Type Coercion for [enum_dispatch] ? 24 messages
Help
Lifetime error when using `Mul` with generics and references 6 messages
Help Question Compiler Error
Tokio Broadcast Channel + WebSocket Server 18 messages
What is wrong with my code here 15 messages
Help
Using swc from Rust 3 messages
Question
T in C FFI where it can be both the concrete type and dyn trait via casting 7 messages
Help
Is there a good way to display diagnostic data in a loop? (e.g. print then clear) 5 messages