How to write a single function definition, whose invocations can efficiently handle different data types
How to use type inference to avoid the need to specify the types used by generic functions
How to write a single struct, tuple-struct, or enum type, whose instances can contain efficiently different data types
How to use two important standard generic enums, Option and Result, to represent optional data or fallible functions results
How some standard functions ease the handling of Option and Result
Need of Generic Functions
Rust performs a strict ...