pub fn box_bytes_of<T: BoxBytesOf + ?Sized>(input: Box<T>) -> BoxBytes
Re-interprets Box<T> as BoxBytes.
Box<T>
BoxBytes
T must be either Sized and NoUninit, [U] where U: NoUninit, or str.
T
Sized
NoUninit
[U]
U: NoUninit
str