pub struct TpmReadClockResponse {
pub handles: [TpmHandle; 0],
pub current_time: TpmsTimeInfo,
}Fields§
§handles: [TpmHandle; 0]§current_time: TpmsTimeInfoImplementations§
Source§impl TpmReadClockResponse
impl TpmReadClockResponse
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 TpmReadClockResponse
impl Clone for TpmReadClockResponse
Source§fn clone(&self) -> TpmReadClockResponse
fn clone(&self) -> TpmReadClockResponse
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 moreimpl Copy for TpmReadClockResponse
Source§impl Debug for TpmReadClockResponse
impl Debug for TpmReadClockResponse
Source§impl Default for TpmReadClockResponse
impl Default for TpmReadClockResponse
Source§fn default() -> TpmReadClockResponse
fn default() -> TpmReadClockResponse
Returns the “default value” for a type. Read more
impl Eq for TpmReadClockResponse
Source§impl PartialEq for TpmReadClockResponse
impl PartialEq for TpmReadClockResponse
Source§fn eq(&self, other: &TpmReadClockResponse) -> bool
fn eq(&self, other: &TpmReadClockResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TpmReadClockResponse
Source§impl TpmFrame for TpmReadClockResponse
impl TpmFrame for TpmReadClockResponse
Source§impl TpmHeader for TpmReadClockResponse
impl TpmHeader for TpmReadClockResponse
Source§impl TpmMarshal for TpmReadClockResponse
impl TpmMarshal for TpmReadClockResponse
Auto Trait Implementations§
impl Freeze for TpmReadClockResponse
impl RefUnwindSafe for TpmReadClockResponse
impl Send for TpmReadClockResponse
impl Sync for TpmReadClockResponse
impl Unpin for TpmReadClockResponse
impl UnsafeUnpin for TpmReadClockResponse
impl UnwindSafe for TpmReadClockResponse
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