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