Confused about a specific generic bound in Tokio


#1

I’m curious about this blanket impl in tokio-io. It’s an impl for a Box<T> where T is AsyncWrite + ?Sized. Why is ?Sized there? Is that to support Box<Box<Foo>?


#2

It’s to support Box<AsyncWrite> I believe.