Trait bytemuck::allocation::sealed::FromBoxBytes
source · pub trait FromBoxBytes {
// Required method
fn try_from_box_bytes(
bytes: BoxBytes,
) -> Result<Box<Self>, (PodCastError, BoxBytes)>;
}
Required Methods§
fn try_from_box_bytes( bytes: BoxBytes, ) -> Result<Box<Self>, (PodCastError, BoxBytes)>
Object Safety§
This trait is not object safe.