S R T B H P N

Chapter 6. - Rust Story Code Index

Demos of Rust features

Help  Close  Sects  Chaps 
Prologue
Models
Data
Operations
Structs
Libraries
Code Index
References
Top, Code Index

6.0Rust Demonstration Code Index: The codes indexed here are all demonstrations. You will find tools, components, and applications in the Rust repositories, but not here. The demos are graded by level, e.g., B (basic), I (intermediate), or A (advanced). Each code folder is rated by Y (very relevant), y (somewhat relevant), or blank (not relevant) for each one of eighteen focus areas for Rust, as presented in this site. The most effective way to examine this code is to download a repository:
Rust Bite By ByteRBBB Code Docs Bites: Beginner-friendly short stories
Rust Basic DemosRBDS Code Docs Rust Story: Narrative description in chapters
Rust Error HandlingREH Code Docs Rust Story and video presentation
Rust Library DemosRLD Code Docs Rust Story
Then explore with Visual Studio Code.
Package Name Repos Level types formt colls iters ownrs enums funct errhd lmbda strct trait genrc lftme lfcyc sdlib cncur unsaf applc
bite_data_ex1 RBBB B Y y
closures RBBB B Y y
data_str RBBB B y Y Y y Y Y
dispatch RBBB I y Y Y Y
exercises RBBB I y Y
functions_and_methods RBBB B Y y Y y y
generics_and_traits RBBB B y Y Y
life_cycle RBBB B y Y
modeling RBBB A Y y y Y Y y
ownership RBBB B Y
point RBBB B Y Y Y Y
smartptrs RBBB I Y y
UndefBehavior RBBB B Y
Package Name Repos Level types formt colls iters ownrs enums funct errhd lmbda strct trait genrc lftme lfcyc sdlib cncur unsaf applc
rust_probes:types RBDS B Y y y y y y y
rust_probes:dblformats RBDS B Y
rust_probes:debugformats RBDS B Y
rust_probes:formatstructure RBDS B Y
data_types RBDS B Y
rust_probes:ownership RBDS B y Y y
enum_probes RBDS B y Y
function_probes RBDS B Y y
error_probes RBDS B Y Y y
lambda_probes RBDS B y Y
struct_probes RBDS B Y y y
rust_probes:probe_structs RBDS B y Y y y
generic_probes RBDS B y y y Y
rust_probes:point_traits RBDS B Y Y y y
string_probes RBDS B y y y Y
vector_probes RBDS B y y Y
file_io RBDS B y Y
iterator_probes RBDS B y Y y y
rust_probes:demodrop RBDS B y y Y
rust_probes:env_probe RBDS B y Y
rust_probes:probe_unsafe RBDS B y Y
code_structure_demo RBDS B y Y
demo_library RBDS B y Y
demo_test RBDS B Y
rust_modules RBDS B y y Y
display_library RBDS B y Y
logger RBDS B y y y Y
Package Name Repos Level types formt colls iters ownrs enums funct errhd lmbda strct trait genrc lftme lfcyc sdlib cncur unsaf applc
rust_panics REH I Y
error_handling_ops REH I Y
console_error_handling REH I Y y
file_error_handling REH I Y y
index_out_of_bounds REH I Y
cpp_undefined_behavior REH I Y
Package Name Repos Level types formt colls iters ownrs enums funct errhd lmbda strct trait genrc lftme lfcyc sdlib cncur unsaf applc
collections_echo RLD I Y y y
iterator_echo RLD I Y Y y
io_echo RLD I y Y
fs_echo RLD I y Y
net_echo RLD I y Y
thread_shared RLD I y y Y
sync_demo RLD I y y Y
blocking_queue_demo RLD A y y Y
mpsc_demo RLD A y y Y
process_demo RLD I y y Y
time_demo RLD B Y
Package Name Repos Level types formt colls iters ownrs enums funct errhd lmbda strct trait genrc lftme lfcyc sdlib cncur unsaf applc
Legend
RBBB RustBiteByByte repository
RBDS RustBasicDemos repository
RLD RustLibraryDemos repository
REH RustErrorHandling repository
Level Difficulty: Basic (B), Intermediate (I), Advanced (A)
types data type demos
formt display format
colls Collections: Vec, VecDec, ...
iters collection iterator demos
ownrs data ownership demos
enums enumeration demos
funct function demos - mostly reference passing and lifetime
errhd error handling demos
lmbda lambda, a.k.a. closure, demos
strct struct demos, many implementing user-defined types
trait trait demos for structs and generic functions
genrc generic function and struct demos
lftme lifetime annotation demos
lfcyc lifecycle demos, e.g., copying, moving, dropping
sdlib standard library demos
cncur concurrency demos
unsaf unsafe code demos
applc application demos, e.g., code structure and examples like logger