Struct tss_esapi::attributes::nv_index::NvIndexAttributes[][src]

pub struct NvIndexAttributes(pub TPMA_NV);

Bitfield representing the nv index attributes.

Implementations

impl NvIndexAttributes[src]

pub fn pp_write(&self) -> bool[src]

pub fn owner_write(&self) -> bool[src]

pub fn auth_write(&self) -> bool[src]

pub fn policy_write(&self) -> bool[src]

pub fn policy_delete(&self) -> bool[src]

pub fn write_locked(&self) -> bool[src]

pub fn write_all(&self) -> bool[src]

pub fn write_define(&self) -> bool[src]

pub fn write_stclear(&self) -> bool[src]

pub fn global_lock(&self) -> bool[src]

pub fn pp_read(&self) -> bool[src]

pub fn owner_read(&self) -> bool[src]

pub fn auth_read(&self) -> bool[src]

pub fn policy_read(&self) -> bool[src]

pub fn no_da(&self) -> bool[src]

pub fn orderly(&self) -> bool[src]

pub fn clear_stclear(&self) -> bool[src]

pub fn read_locked(&self) -> bool[src]

pub fn written(&self) -> bool[src]

pub fn platform_create(&self) -> bool[src]

pub fn read_stclear(&self) -> bool[src]

impl NvIndexAttributes[src]

pub fn index_type(&self) -> Result<NvIndexType>[src]

Returns the NvIndexType of the NvIndexAttributes

pub fn validate(&self) -> Result<()>[src]

Validates the attributes

Details

Performs checks on self in order to verify that the attributes conforms to the requirements specified in the standard.

Errors

Returns an error if some attributes are missing or are in conflict with eachother.

Trait Implementations

impl<T> BitRange<T> for NvIndexAttributes where
    TPMA_NV: BitRange<T>, 
[src]

impl Clone for NvIndexAttributes[src]

impl Copy for NvIndexAttributes[src]

impl Debug for NvIndexAttributes[src]

impl Eq for NvIndexAttributes[src]

impl PartialEq<NvIndexAttributes> for NvIndexAttributes[src]

impl StructuralEq for NvIndexAttributes[src]

impl StructuralPartialEq for NvIndexAttributes[src]

impl TryFrom<u32> for NvIndexAttributes[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Bit for T where
    T: BitRange<u8>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Free for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.