Struct tss_esapi::attributes::nv_index::NvIndexAttributes
source · pub struct NvIndexAttributes(pub TPMA_NV);
Expand description
Bitfield representing the nv index attributes.
Tuple Fields§
§0: TPMA_NV
Implementations§
source§impl NvIndexAttributes
impl NvIndexAttributes
pub fn pp_write(&self) -> bool
pub fn owner_write(&self) -> bool
pub fn auth_write(&self) -> bool
pub fn policy_write(&self) -> bool
pub fn policy_delete(&self) -> bool
pub fn write_locked(&self) -> bool
pub fn write_all(&self) -> bool
pub fn write_define(&self) -> bool
pub fn write_stclear(&self) -> bool
pub fn global_lock(&self) -> bool
pub fn pp_read(&self) -> bool
pub fn owner_read(&self) -> bool
pub fn auth_read(&self) -> bool
pub fn policy_read(&self) -> bool
pub fn no_da(&self) -> bool
pub fn orderly(&self) -> bool
pub fn clear_stclear(&self) -> bool
pub fn read_locked(&self) -> bool
pub fn written(&self) -> bool
pub fn platform_create(&self) -> bool
pub fn read_stclear(&self) -> bool
source§impl NvIndexAttributes
impl NvIndexAttributes
sourcepub fn index_type(&self) -> Result<NvIndexType>
pub fn index_type(&self) -> Result<NvIndexType>
Returns the NvIndexType
of the NvIndexAttributes
sourcepub const fn builder() -> NvIndexAttributesBuilder
pub const fn builder() -> NvIndexAttributesBuilder
Get a builder for the structure
Trait Implementations§
source§impl<T> BitRange<T> for NvIndexAttributes
impl<T> BitRange<T> for NvIndexAttributes
source§impl<T> BitRangeMut<T> for NvIndexAttributeswhere
TPMA_NV: BitRangeMut<T>,
impl<T> BitRangeMut<T> for NvIndexAttributeswhere
TPMA_NV: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for NvIndexAttributes
impl Clone for NvIndexAttributes
source§fn clone(&self) -> NvIndexAttributes
fn clone(&self) -> NvIndexAttributes
Returns a copy of the value. Read more
1.0.0 · 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 NvIndexAttributes
impl Debug for NvIndexAttributes
source§impl PartialEq for NvIndexAttributes
impl PartialEq for NvIndexAttributes
source§fn eq(&self, other: &NvIndexAttributes) -> bool
fn eq(&self, other: &NvIndexAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<NvIndexAttributes> for TPMA_NV
impl TryFrom<NvIndexAttributes> for TPMA_NV
source§impl TryFrom<u32> for NvIndexAttributes
impl TryFrom<u32> for NvIndexAttributes
impl Copy for NvIndexAttributes
impl Eq for NvIndexAttributes
impl StructuralPartialEq for NvIndexAttributes
Auto Trait Implementations§
impl Freeze for NvIndexAttributes
impl RefUnwindSafe for NvIndexAttributes
impl Send for NvIndexAttributes
impl Sync for NvIndexAttributes
impl Unpin for NvIndexAttributes
impl UnwindSafe for NvIndexAttributes
Blanket Implementations§
source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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