Struct tss_esapi::structures::NvCertifyInfo
source · [−]pub struct NvCertifyInfo { /* private fields */ }Expand description
This structure contains the Name and contents of the selected NV Index that is certified by TPM2_NV_Certify()
Details
This corresponds to the TPMS_NV_CERTIFY_INFO.
Implementations
sourceimpl NvCertifyInfo
impl NvCertifyInfo
sourcepub const fn index_name(&self) -> &Name
pub const fn index_name(&self) -> &Name
Returns index name
sourcepub const fn nv_contents(&self) -> &MaxNvBuffer
pub const fn nv_contents(&self) -> &MaxNvBuffer
Returns nv contents
Trait Implementations
sourceimpl Clone for NvCertifyInfo
impl Clone for NvCertifyInfo
sourcefn clone(&self) -> NvCertifyInfo
fn clone(&self) -> NvCertifyInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NvCertifyInfo
impl Debug for NvCertifyInfo
sourceimpl From<NvCertifyInfo> for TPMS_NV_CERTIFY_INFO
impl From<NvCertifyInfo> for TPMS_NV_CERTIFY_INFO
sourcefn from(nv_certify_info: NvCertifyInfo) -> Self
fn from(nv_certify_info: NvCertifyInfo) -> Self
Converts to this type from the input type.
sourceimpl TryFrom<TPMS_NV_CERTIFY_INFO> for NvCertifyInfo
impl TryFrom<TPMS_NV_CERTIFY_INFO> for NvCertifyInfo
Auto Trait Implementations
impl RefUnwindSafe for NvCertifyInfo
impl Send for NvCertifyInfo
impl Sync for NvCertifyInfo
impl Unpin for NvCertifyInfo
impl UnwindSafe for NvCertifyInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more