Trait FromBoxBytes

Source
pub trait FromBoxBytes {
    // Required method
    fn try_from_box_bytes(
        bytes: BoxBytes,
    ) -> Result<Box<Self>, (PodCastError, BoxBytes)>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T: AnyBitPattern> FromBoxBytes for [T]

Implementors§