tss_esapi::traits

Trait UnMarshall

Source
pub trait UnMarshall: Sized {
    // Required method
    fn unmarshall(marshalled_data: &[u8]) -> Result<Self>;
}
Expand description

Trait for types that can be created from TPM marshalled data.

Required Methods§

Source

fn unmarshall(marshalled_data: &[u8]) -> Result<Self>

Creates the type from marshalled data.

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.

Implementors§