pub struct TpmNvCertifyCommand {
pub handles: [TpmHandle; 3],
pub qualifying_data: Tpm2bData,
pub in_scheme: TpmtSignature,
pub size: TpmUint16,
pub offset: TpmUint16,
}Fields§
§handles: [TpmHandle; 3]§qualifying_data: Tpm2bData§in_scheme: TpmtSignature§size: TpmUint16§offset: TpmUint16Implementations§
Source§impl TpmNvCertifyCommand
impl TpmNvCertifyCommand
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 TpmNvCertifyCommand
impl Clone for TpmNvCertifyCommand
Source§fn clone(&self) -> TpmNvCertifyCommand
fn clone(&self) -> TpmNvCertifyCommand
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 TpmNvCertifyCommand
impl Debug for TpmNvCertifyCommand
Source§impl PartialEq for TpmNvCertifyCommand
impl PartialEq for TpmNvCertifyCommand
Source§fn eq(&self, other: &TpmNvCertifyCommand) -> bool
fn eq(&self, other: &TpmNvCertifyCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmNvCertifyCommand
impl TpmFrame for TpmNvCertifyCommand
Source§impl TpmHeader for TpmNvCertifyCommand
impl TpmHeader for TpmNvCertifyCommand
Source§impl TpmMarshal for TpmNvCertifyCommand
impl TpmMarshal for TpmNvCertifyCommand
Source§impl TpmMarshalBody for TpmNvCertifyCommand
impl TpmMarshalBody for TpmNvCertifyCommand
Source§impl TpmSized for TpmNvCertifyCommand
impl TpmSized for TpmNvCertifyCommand
impl Eq for TpmNvCertifyCommand
impl StructuralPartialEq for TpmNvCertifyCommand
Auto Trait Implementations§
impl Freeze for TpmNvCertifyCommand
impl RefUnwindSafe for TpmNvCertifyCommand
impl Send for TpmNvCertifyCommand
impl Sync for TpmNvCertifyCommand
impl Unpin for TpmNvCertifyCommand
impl UnsafeUnpin for TpmNvCertifyCommand
impl UnwindSafe for TpmNvCertifyCommand
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