This module is used for the conversion between types.
When writing a library, implement From<T> and TryFrom<T> instead of Into<T> and TryInto<T> as the From forms provide greater flexibility.
- Implementations: As* (reference-to-reference conversions), Into (consume the value in the conversion), From (useful for value and reference conversion), TryFrom, and TryInto (similar to From and Into, allows for failure)
- Structs, Traits, and Enums: Traits AsMut, AsRef, From, and Into