pub struct TpmHmacStartCommand {
pub handles: [TpmHandle; 1],
pub auth: Tpm2bAuth,
pub hash_alg: TpmAlgId,
}Fields§
§handles: [TpmHandle; 1]§auth: Tpm2bAuth§hash_alg: TpmAlgIdImplementations§
Source§impl TpmHmacStartCommand
impl TpmHmacStartCommand
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 TpmHmacStartCommand
impl Clone for TpmHmacStartCommand
Source§fn clone(&self) -> TpmHmacStartCommand
fn clone(&self) -> TpmHmacStartCommand
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 TpmHmacStartCommand
impl Debug for TpmHmacStartCommand
Source§impl PartialEq for TpmHmacStartCommand
impl PartialEq for TpmHmacStartCommand
Source§fn eq(&self, other: &TpmHmacStartCommand) -> bool
fn eq(&self, other: &TpmHmacStartCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmHmacStartCommand
impl TpmFrame for TpmHmacStartCommand
Source§impl TpmHeader for TpmHmacStartCommand
impl TpmHeader for TpmHmacStartCommand
Source§impl TpmMarshal for TpmHmacStartCommand
impl TpmMarshal for TpmHmacStartCommand
Source§impl TpmMarshalBody for TpmHmacStartCommand
impl TpmMarshalBody for TpmHmacStartCommand
Source§impl TpmSized for TpmHmacStartCommand
impl TpmSized for TpmHmacStartCommand
impl Eq for TpmHmacStartCommand
impl StructuralPartialEq for TpmHmacStartCommand
Auto Trait Implementations§
impl Freeze for TpmHmacStartCommand
impl RefUnwindSafe for TpmHmacStartCommand
impl Send for TpmHmacStartCommand
impl Sync for TpmHmacStartCommand
impl Unpin for TpmHmacStartCommand
impl UnsafeUnpin for TpmHmacStartCommand
impl UnwindSafe for TpmHmacStartCommand
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