Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

What does `impl` mean when used as the argument type or return type of a function?

rust

Rocket not setting content-type text/html

rust content-type

Comparing string in Rust

rust

Rust file I/O is very slow compared with C. Is something wrong?

performance file io rust

Is there a builtin identity function in Rust?

rust

How do I check if a slice is sorted?

sorting iterator rust slice

Why does the usage of by_ref().take() differ between the Iterator and Read traits?

rust borrow-checker

Rust best practices when specifying a constant hash map [duplicate]

rust hashmap

How do I use C preprocessor macros with Rust's FFI?

macros c-preprocessor ffi rust

What is the difference between storing a Vec vs a Slice?

memory-management rust

How do I share access to an AtomicBool between threads?

multithreading rust

How can I cause a panic on a thread to immediately end the main thread?

rust

What does it mean to instantiate a Rust generic with an underscore?

generics rust

How to wrap a raw string literal without inserting newlines into the raw string?

string rust literals

Sorting a vector of tuples needs a reference for the second value?

Rust macro accepting type with generic parameters

generics macros rust

Why doesn't the Rust optimizer remove those useless instructions (tested on Godbolt Compiler Explorer)?

How do I go from a NaiveDate to a specific TimeZone with Chrono?

datetime rust chrono

What is the correct way to read a binary file in chunks of a fixed size and store all of those chunks into a Vec?

file rust binary

Iterate over std::fs::ReadDir and get only filenames from paths

rust