Trait rkyv_dyn::DynDeserializer[][src]

pub trait DynDeserializer {
    unsafe fn alloc_dyn(&mut self, layout: Layout) -> Result<*mut u8, DynError>;
}

An object-safe version of Deserializer.

Required methods

unsafe fn alloc_dyn(&mut self, layout: Layout) -> Result<*mut u8, DynError>[src]

Allocates and returns memory with the given layout.

Safety

The caller must guarantee that the memory returned by this function is deallocated by the global allocator.

Loading content...

Trait Implementations

impl<'a> Deserializer for dyn DynDeserializer + 'a[src]

impl<'a> Fallible for dyn DynDeserializer + 'a[src]

type Error = DynError

The error produced by any failing methods

Implementations on Foreign Types

impl<D: Deserializer + ?Sized> DynDeserializer for &mut D[src]

Loading content...

Implementors

Loading content...