Where Self Meets Sized: Revisiting Object Safety

from blog Huon on the internet, | ↗ original
The concept of object safety in Rust was recently refined to be more flexible in an important way: the checks can be disabled for specific methods by using where clauses to restrict them to only work when Self: Sized. This post is a rather belated fourth entry in my series on trait objects and object safety: Peeking inside Trait Objects, The...