The Magical Applications of Zero-Sized Types in Rust

Values of Zero-Sized types hold no information. This, however, does not imply that they are trivial. Rather, they offer the necessary properties for a complex interactions between the type system and values. Read more

Similar

Error Handling in Rust

Like most programming languages, Rust encourages the programmer to handle errors in a particular way. Generally speaking, error handling is divided into two broad categories: exceptions and return values. Rust opts for return values. (more…)

Read more »