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