ARMANRIAZIRUSTCONCEPTDSTORUNSIZEDTYPE
DSTs or unsized types': str(but not &str-So although a &T is a single value that stores the memory address of where the T is located, a &str is two values: the address of the str and its length. As such, we can know the size of a &str value at compile time), Box<>, RC<>, Every trait is a dynamically sized type.
Rust has a particular trait called the Sized trait to determine whether or not a type’s size is known at compile time. This trait is automatically implemented for everything whose size is known at compile time. In addition, Rust implicitly adds a bound on Sized to every generic function.
ArmanRiazi