Trait TpmResponseBuild
Source pub trait TpmResponseBuild {
// Required methods
fn build_handles(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>;
fn build_parameters(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>;
}
Expand description
A trait for building response bodies in separate handle and parameter sections.
Builds the handle area of the response.
§Errors
TpmErrorKind::BuildOverflow if writer would run out of space.
Builds the parameter area of the response.
§Errors
TpmErrorKind::BuildCapacity if the object contains a value exceeding capacity limit.
TpmErrorKind::BuildOverflow if writer would run out of space.