pub struct TpmNvCertifyCommand {
pub handles: [TpmHandle; 3],
pub qualifying_data: Tpm2bData,
pub in_scheme: TpmtSigScheme,
pub size: TpmUint16,
pub offset: TpmUint16,
}Fields§
§handles: [TpmHandle; 3]§qualifying_data: Tpm2bData§in_scheme: TpmtSigScheme§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(TpmError) 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(TpmError) when the frame is malformed or
has a different command code.
Trait Implementations§
Source§impl Clone for TpmNvCertifyCommand
impl Clone for TpmNvCertifyCommand
Source§impl Debug for TpmNvCertifyCommand
impl Debug for TpmNvCertifyCommand
impl Eq for TpmNvCertifyCommand
Source§impl PartialEq for TpmNvCertifyCommand
impl PartialEq for TpmNvCertifyCommand
impl StructuralPartialEq for TpmNvCertifyCommand
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
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