Skip to main content

Crate sgx_serialize_derive

Crate sgx_serialize_derive 

Source
Expand description

This crate provides sgx_serialize’s two derive macros.

extern crate sgx_tstd as std; // Must do that!
#[derive(Serializable, DeSerializable)]

Derive Macros§

DeSerializable
derive_deserialize provides the DeSerializable macro for `sgx_serialize
Serializable
derive_serialize provides the Serializable macro for `sgx_serialize