pub struct TpmHmacResponse {
pub handles: [TpmHandle; 0],
pub out_hmac: Tpm2bDigest,
}Fields§
§handles: [TpmHandle; 0]§out_hmac: Tpm2bDigestImplementations§
Source§impl TpmHmacResponse
impl TpmHmacResponse
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 TpmHmacResponse
impl Clone for TpmHmacResponse
Source§fn clone(&self) -> TpmHmacResponse
fn clone(&self) -> TpmHmacResponse
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 TpmHmacResponse
impl Debug for TpmHmacResponse
impl Eq for TpmHmacResponse
Source§impl PartialEq for TpmHmacResponse
impl PartialEq for TpmHmacResponse
impl StructuralPartialEq for TpmHmacResponse
Source§impl TpmFrame for TpmHmacResponse
impl TpmFrame for TpmHmacResponse
Source§impl TpmHeader for TpmHmacResponse
impl TpmHeader for TpmHmacResponse
Source§impl TpmMarshal for TpmHmacResponse
impl TpmMarshal for TpmHmacResponse
Source§impl TpmMarshalBody for TpmHmacResponse
impl TpmMarshalBody for TpmHmacResponse
Source§impl TpmSized for TpmHmacResponse
impl TpmSized for TpmHmacResponse
Source§impl TryFrom<TpmResponseValue> for TpmHmacResponse
impl TryFrom<TpmResponseValue> for TpmHmacResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmHmacResponse
impl RefUnwindSafe for TpmHmacResponse
impl Send for TpmHmacResponse
impl Sync for TpmHmacResponse
impl Unpin for TpmHmacResponse
impl UnsafeUnpin for TpmHmacResponse
impl UnwindSafe for TpmHmacResponse
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