pub struct TpmPcrEventResponse {
pub handles: [TpmHandle; 0],
pub digests: TpmlDigestValues,
}Fields§
§handles: [TpmHandle; 0]§digests: TpmlDigestValuesImplementations§
Source§impl TpmPcrEventResponse
impl TpmPcrEventResponse
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
Casts a response frame into a typed wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
Casts a mutable response frame into a typed mutable wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmPcrEventResponse
impl Clone for TpmPcrEventResponse
Source§fn clone(&self) -> TpmPcrEventResponse
fn clone(&self) -> TpmPcrEventResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TpmPcrEventResponse
impl Debug for TpmPcrEventResponse
Source§impl Default for TpmPcrEventResponse
impl Default for TpmPcrEventResponse
Source§fn default() -> TpmPcrEventResponse
fn default() -> TpmPcrEventResponse
Returns the “default value” for a type. Read more
impl Eq for TpmPcrEventResponse
Source§impl PartialEq for TpmPcrEventResponse
impl PartialEq for TpmPcrEventResponse
impl StructuralPartialEq for TpmPcrEventResponse
Source§impl TpmFrame for TpmPcrEventResponse
impl TpmFrame for TpmPcrEventResponse
Source§impl TpmHeader for TpmPcrEventResponse
impl TpmHeader for TpmPcrEventResponse
Source§impl TpmMarshal for TpmPcrEventResponse
impl TpmMarshal for TpmPcrEventResponse
Source§impl TpmMarshalBody for TpmPcrEventResponse
impl TpmMarshalBody for TpmPcrEventResponse
Source§impl TpmSized for TpmPcrEventResponse
impl TpmSized for TpmPcrEventResponse
Source§impl TryFrom<TpmResponseValue> for TpmPcrEventResponse
impl TryFrom<TpmResponseValue> for TpmPcrEventResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmPcrEventResponse
impl RefUnwindSafe for TpmPcrEventResponse
impl Send for TpmPcrEventResponse
impl Sync for TpmPcrEventResponse
impl Unpin for TpmPcrEventResponse
impl UnsafeUnpin for TpmPcrEventResponse
impl UnwindSafe for TpmPcrEventResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more