Skip to main content

PlatformDeserializableWithBytesLenFromVersionedStructureUntrusted

Trait PlatformDeserializableWithBytesLenFromVersionedStructureUntrusted 

Source
pub trait PlatformDeserializableWithBytesLenFromVersionedStructureUntrusted {
    // Required method
    fn versioned_deserialize_with_bytes_len_untrusted(
        data: &[u8],
        full_validation: bool,
        platform_version: &PlatformVersion,
    ) -> Result<(Self, usize), ProtocolError>
       where Self: Sized;
}
Expand description

Required Methods§

Source

fn versioned_deserialize_with_bytes_len_untrusted( data: &[u8], full_validation: bool, platform_version: &PlatformVersion, ) -> Result<(Self, usize), ProtocolError>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§