1.
Introduction
2.
Who is using?
Bắt đầu
3.
Cài đặt Rust
4.
Project đầu tiên
Cơ bản
5.
Variables
5.1.
mut
5.2.
uninitialized variable
6.
Closure
7.
Cargo
8.
Packages và Crates
8.1.
Package layout
8.2.
Crate
8.3.
use crate
8.3.1.
use self, use super
8.3.2.
pub use
8.4.
Preludes
9.
Ownership
10.
Struct
11.
Trait
11.1.
Khai báo Trait
11.2.
Implement Trait cho một Type
11.3.
Default Implementations
11.4.
Traits as Parameters
11.5.
Trait Bound
11.6.
Multiple Trait Bound
11.7.
where Clauses
11.8.
Returning Types that Implement Traits
11.9.
Using Trait Bounds to Conditionally Implement Methods
11.10.
Blanket implementations
11.11.
Trait Inheritance
11.12.
Supertraits
11.13.
Auto Trait
11.14.
Copy, Clone
11.15.
String và &str
11.16.
FromStr
11.17.
Display
12.
Enum
12.1.
match Enum
12.2.
Mang Variants ra ngoài scope của Enum
12.3.
impl Enum
12.4.
Option<T>
12.4.1.
unwrap()
12.4.2.
expect()
12.4.3.
unwrap_or_default()
12.4.4.
if let Some(x) = x
12.5.
Result<T, E>
12.5.1.
Convert Result sang Option
12.5.2.
Toán tử ?
13.
Generics
13.1.
Generic Functions
13.2.
Generic Struct
13.3.
Generic Enum
13.4.
Generic Implementation
13.5.
Generic Trait
13.6.
Bounds
13.7.
where
14.
Vec
14.1.
Iter
14.2.
Sử dụng Enum để chứa nhiều loại dữ liệu
15.
Box
16.
Cow
17.
/// Viết code comment
17.1.
Doc comments
18.
Turbofish ::<>
19.
macros!
19.1.
Khác nhau giữa Macros và Functions
19.2.
Macros mặc định
19.3.
println!
19.4.
format!
19.5.
todo!
19.6.
macro_rules!
20.
match
20.1.
Matching giá trị
20.2.
Matching Named Variables
20.3.
Matching Multiple
21.
#[attributes]
22.
Xử lý lỗi
22.1.
panic
22.2.
Option
22.3.
Result
22.3.1.
Result map
22.3.2.
Result alias
22.4.
Custom error
22.5.
Boxing error
23.
Viết Tests
23.1.
Tổ chức Tests
23.1.1.
Unit Tests
23.1.2.
Integration Tests
23.1.3.
Doc Tests
23.2.
Xung đột biến môi trường
24.
Viết Docs
24.1.
Doc comments
24.2.
Sử dụng README.md làm crate document
25.
Smart Pointers
25.1.
Box
25.2.
Rc, Reference Counted
Design patterns
26.
Behavioural Patterns
26.1.
Strategy Pattern
26.2.
Command Pattern
27.
Creational Patterns
27.1.
Builder Pattern
28.
Structural Patterns
28.1.
Prefer Small Crates
Crates hay dùng
29.
tokio
30.
actix-web
31.
anyhow
32.
serde
32.1.
serde_json
33.
clap
34.
log
34.1.
env_logger
35.
config
36.
async_trait
37.
lazy_static
38.
indoc
39.
rayon
Rust Idioms
40.
Functional programming
41.
Use borrowed types for arguments
42.
Concatenating strings with format!
43.
Constructor
44.
The Default Trait
45.
Finalisation in destructors
46.
Temporary mutability
Rust for Data Engineering
47.
Using Rust for efficient data processing and analysis
48.
First high-performance data pipelines in Rust
49.
Building scalable data-driven applications using Rust
50.
Rust as an alternative to Python for data engineering tasks
Light
Rust
Coal
Navy
Ayu
Rust Tiếng Việt
Using Rust for efficient data processing and analysis
TBU