rust-help-forum

11663 threads · Page 227 of 234

Need to simulate trait parameter between crates 24 messages
Help Question
Wrapper to allow for refs of incompatible types 78 messages
Checking for file change in async 10 messages
Question Help
Traits that accept self by-value if it has copy 13 messages
When is coercion to a specific trait object necessary? 19 messages
Question Help
Help with `nalgebra`'s `look_at_rh` and euler angles 3 messages
Help
Using RcRefCellT pattern for mutable reference to T 20 messages
Code Review Request
Code review CP implementation 36 messages
Code Review Request
Forwarding a Stream into a Sink 10 messages
Beginner Compiler Error
Program stuck when locking Arc(RwLock(HashMap(String, Word))) for writing 7 messages
Help
Selectively drain from vec? 14 messages
Question
PermissionDenied when unzipping an archive 2 messages
Help
I need to create multiple threads which work on the same Vec variable. Any suggestions or examples? 5 messages
Question
Need a fast library to write logs to a file, does tracing do this? 22 messages
Does Rust optimize `||` calls in `if` statements by not executing subsequent instructions? 22 messages
Question
`enum Action { WashFoot(Foot), }` is ok, but not `enum Action { WashFoot(&mut Foot), }` 34 messages
Question Help
Parsing (complicated structures of) XML using serde_xml_rs 4 messages
Help
How can I get variable from a for loop to persist after the loop closes 12 messages
Way to always start the stack and heap in the same place 17 messages
Question Help
Didn't rust-analyzer use to suggest enum variants in match expressions? 3 messages
Tooling Help
Type mismatch for const type parameter 5 messages
Help Question
Is it a bad idea to put a reference to a parent object in a child function? 11 messages
Question
Can you review my book about lifetimes, please? 29 messages
Help
Confused about ownership in my program (where is my variable being borrowed?) 26 messages
Beginner Compiler Error
raw terminal mode 8 messages
Question
Declarative macro generating method 11 messages
Help
General project tips for a total beginner 9 messages
Beginner
Async rust server with rocket 5 messages
Help Question
Why can't my repr(usize) enum iterate a vector? 14 messages
Trouble for saving var outside closure 13 messages
Help Beginner
Reading from Network into BytesMut safely 4 messages
Help
Problem of tcp communication between rust server and java client 27 messages
Help
No Idea How to Implement This... 21 messages
Question Discussion
How to rename the target binary automatically after cargo-build? 2 messages
Help
Do lazy statistics incur performance penalty over regular statistics? 54 messages
Question
use non static, mutable struct in a static closure 9 messages
I can't find why this error is occured. 6 messages
Beginner Help
weird cargo errors 8 messages
Help
Baffling behavior with continue 32 messages
Beginner
How to make a thread-safe read-only lazy_static? 10 messages
Question
winit crash on close in release 28 messages
Help
Async closure not working properly with smol? 15 messages
Help
Baffling lifetime issue 55 messages
atomic_cas is unsupported or disabled (M1) 11 messages
Help Compiler Error
Can someone explain the 'impl Trait captures lifetime not in bounds' error simply? 19 messages
How to deal with task communication? 17 messages
Question Code Review Request
serde_json having items inside an array 2 messages
Help
How do I compile with target features my host doesn't have? 59 messages
Tooling Help
``serde_json..from_str();`` 29 messages
Borrow Pin Box T into Pin &T and return from function. Why does this fail even though it is pinned? 23 messages
Question Beginner