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§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: AnyBitPattern> FromBoxBytes for [T]

Implementors§