pub trait DecodeFromHeap<C = ()>: Sized {
// Required method
fn decode_from_heap<R: Seek + Read>(
input: &mut Cursor<R>,
context: &mut C,
heap: HeapSection,
) -> Result<Self>;
}Required Methods§
fn decode_from_heap<R: Seek + Read>( input: &mut Cursor<R>, context: &mut C, heap: HeapSection, ) -> Result<Self>
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.