pub fn try_cast_box<A: NoUninit, B: AnyBitPattern>( input: Box<A>, ) -> Result<Box<B>, (PodCastError, Box<A>)>
Attempts to cast the content type of a Box.
Box
On failure you get back an error along with the starting Box.