pub fn box_pin<T>(x: T) -> Pin<Box<T>>where T: ?Sized,
Like Box::pin, but T can be ?Sized.
Box::pin
T
?Sized
You will need #![feature(unsized_fn_params)] to call this.
#![feature(unsized_fn_params)]