Global Feed Post Login
Replying to Avatar BitcoinEagle.dev

Rust: Matrix of ownership, borrowing or sharing in closures or locks

Avatar
BitcoinEagle.dev 2y ago

I'm just learning Rust memory management primitives. I summarized it in this table. I believe it might be useful for other Rust autists

# sources

- Fn: https://doc.rust-lang.org/std/ops/trait.Fn.html

- Cell: https://doc.rust-lang.org/std/cell/index.html

- Arc: https://doc.rust-lang.org/std/sync/struct.Arc.html

- sync: https://doc.rust-lang.org/std/sync/index.html

- see also

- atomic: https://doc.rust-lang.org/std/sync/atomic/index.html

- Weak: https://doc.rust-lang.org/std/sync/struct.Weak.html

nostr:nevent1qqsw83jv8wchzvuy3xch0x724rlyddcgevw9jwruv5eggxr5du0q5qspzpmhxue69uhkummnw3ezuamfdejsygpj6mkdmvw5xarvm0v9ewpnkk6xq8etruxrfzkfhydkdwutm09vwqpsgqqqqsns64mtgt

Reply to this note

Please Login to reply.

Discussion

No replies yet.