Trait epserde::deser::DeserializeHelper
source · pub trait DeserializeHelper<T: CopySelector> {
type FullType;
type DeserType<'a>;
// Required methods
fn _deserialize_full_inner_impl(
backend: &mut impl ReadWithPos
) -> Result<Self::FullType>;
fn _deserialize_eps_inner_impl<'a>(
backend: &mut SliceWithPos<'a>
) -> Result<Self::DeserType<'a>>;
}
Expand description
A helper trait that makes it possible to implement differently
deserialization for crate::traits::ZeroCopy
and crate::traits::DeepCopy
types.
See crate::traits::CopyType
for more information.
Required Associated Types§
Required Methods§
fn _deserialize_full_inner_impl( backend: &mut impl ReadWithPos ) -> Result<Self::FullType>
fn _deserialize_eps_inner_impl<'a>( backend: &mut SliceWithPos<'a> ) -> Result<Self::DeserType<'a>>
Object Safety§
This trait is not object safe.