pub fn serialize(state: &ControllerState) -> Result<Vec<u8>, Error>Expand description
Serialize controller state into an opaque TLV blob.
ยงErrors
Returns Error::Cert if a certificate fails to serialize, or
Error::Codec if TLV encoding fails.
pub fn serialize(state: &ControllerState) -> Result<Vec<u8>, Error>Serialize controller state into an opaque TLV blob.
Returns Error::Cert if a certificate fails to serialize, or
Error::Codec if TLV encoding fails.