Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The seeds are for XorShiftRng, move to previous line max_in_memory_bytes and max_disk_bytes are for hopper."

A block of code is set as follows:

fn main() {    println!("Apollo is the name of a space program but also my dog.");}

Any command-line input or output is written as follows:

> cat hello.rsfn main() { println!("Apollo is the name of a space program but also my dog.");}> rustc -C opt-level=2 hello.rs> ./helloApollo is the name of a space program but also my dog.

Bold: Indicates ...

Get Hands-On Concurrency with Rust now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.