ref struct
A struct that may live only on the stack, like Span
A ref struct cannot be boxed, stored in a field of a class, captured by a lambda, or kept alive across await or yield; the compiler enforces this so it can safely refer to stack memory.
Examples
Span<T>is a ref struct, so it can't be a field of a class or be kept across anawait.