pub struct TpmReadClockCommand {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmReadClockCommand
impl TpmReadClockCommand
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
Casts a command frame into a typed wire view for this command.
§Errors
Returns Err(TpmProtocolError) when the frame is malformed or
has a different command code.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
Casts a mutable command frame into a typed mutable wire view for this command.
§Errors
Returns Err(TpmProtocolError) when the frame is malformed or
has a different command code.
Trait Implementations§
Source§impl Clone for TpmReadClockCommand
impl Clone for TpmReadClockCommand
Source§fn clone(&self) -> TpmReadClockCommand
fn clone(&self) -> TpmReadClockCommand
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 TpmReadClockCommand
impl Debug for TpmReadClockCommand
Source§impl Default for TpmReadClockCommand
impl Default for TpmReadClockCommand
Source§fn default() -> TpmReadClockCommand
fn default() -> TpmReadClockCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for TpmReadClockCommand
impl PartialEq for TpmReadClockCommand
Source§fn eq(&self, other: &TpmReadClockCommand) -> bool
fn eq(&self, other: &TpmReadClockCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmReadClockCommand
impl TpmFrame for TpmReadClockCommand
Source§impl TpmHeader for TpmReadClockCommand
impl TpmHeader for TpmReadClockCommand
Source§impl TpmMarshal for TpmReadClockCommand
impl TpmMarshal for TpmReadClockCommand
Source§impl TpmMarshalBody for TpmReadClockCommand
impl TpmMarshalBody for TpmReadClockCommand
Source§impl TpmSized for TpmReadClockCommand
impl TpmSized for TpmReadClockCommand
impl Copy for TpmReadClockCommand
impl Eq for TpmReadClockCommand
impl StructuralPartialEq for TpmReadClockCommand
Auto Trait Implementations§
impl Freeze for TpmReadClockCommand
impl RefUnwindSafe for TpmReadClockCommand
impl Send for TpmReadClockCommand
impl Sync for TpmReadClockCommand
impl Unpin for TpmReadClockCommand
impl UnsafeUnpin for TpmReadClockCommand
impl UnwindSafe for TpmReadClockCommand
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