pub struct TpmGetTimeResponse {
pub handles: [TpmHandle; 0],
pub time_info: Tpm2bAttest,
pub signature: TpmtSignature,
}Fields§
§handles: [TpmHandle; 0]§time_info: Tpm2bAttest§signature: TpmtSignatureImplementations§
Source§impl TpmGetTimeResponse
impl TpmGetTimeResponse
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(TpmProtocolError) 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(TpmProtocolError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmGetTimeResponse
impl Clone for TpmGetTimeResponse
Source§fn clone(&self) -> TpmGetTimeResponse
fn clone(&self) -> TpmGetTimeResponse
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 TpmGetTimeResponse
impl Debug for TpmGetTimeResponse
Source§impl PartialEq for TpmGetTimeResponse
impl PartialEq for TpmGetTimeResponse
Source§fn eq(&self, other: &TpmGetTimeResponse) -> bool
fn eq(&self, other: &TpmGetTimeResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmGetTimeResponse
impl TpmFrame for TpmGetTimeResponse
Source§impl TpmHeader for TpmGetTimeResponse
impl TpmHeader for TpmGetTimeResponse
Source§impl TpmMarshal for TpmGetTimeResponse
impl TpmMarshal for TpmGetTimeResponse
Source§impl TpmMarshalBody for TpmGetTimeResponse
impl TpmMarshalBody for TpmGetTimeResponse
Source§impl TpmSized for TpmGetTimeResponse
impl TpmSized for TpmGetTimeResponse
impl Eq for TpmGetTimeResponse
impl StructuralPartialEq for TpmGetTimeResponse
Auto Trait Implementations§
impl Freeze for TpmGetTimeResponse
impl RefUnwindSafe for TpmGetTimeResponse
impl Send for TpmGetTimeResponse
impl Sync for TpmGetTimeResponse
impl Unpin for TpmGetTimeResponse
impl UnsafeUnpin for TpmGetTimeResponse
impl UnwindSafe for TpmGetTimeResponse
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