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

pub struct NvIndexAttributesBuilder { /* fields omitted */ }

A builder NV index attributes

Implementations

impl NvIndexAttributesBuilder[src]

pub const fn new() -> Self[src]

Creates a new nv index builder

pub const fn with_attributes(nv_index_attributes: NvIndexAttributes) -> Self[src]

Creates a new builder from existing NvIndexAttributes

pub fn with_pp_write(self, set: bool) -> Self[src]

Controls the pp write attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_owner_write(self, set: bool) -> Self[src]

Controls the owner write attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_auth_write(self, set: bool) -> Self[src]

Controls the auth write attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_policy_write(self, set: bool) -> Self[src]

Controls the policy write attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_nv_index_type(self, nv_index_type: NvIndexType) -> Self[src]

Controls the nv index type attribute

Arguments

  • nv_index_type - The nv index type to be used.

pub fn with_policy_delete(self, set: bool) -> Self[src]

Controls the policy delete attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_write_locked(self, set: bool) -> Self[src]

Controls the write locked attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_write_all(self, set: bool) -> Self[src]

Controls the write all attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_write_define(self, set: bool) -> Self[src]

Controls the write define attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_write_stclear(self, set: bool) -> Self[src]

Controls the write stclear attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_global_lock(self, set: bool) -> Self[src]

Controls the global lock attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_pp_read(self, set: bool) -> Self[src]

Controls the pp read attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_owner_read(self, set: bool) -> Self[src]

Controls the owner read attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_auth_read(self, set: bool) -> Self[src]

Controls the auth read attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_policy_read(self, set: bool) -> Self[src]

Controls the policy read attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_no_da(self, set: bool) -> Self[src]

Controls the no DA attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_orderly(self, set: bool) -> Self[src]

Controls the orderly attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_clear_stclear(self, set: bool) -> Self[src]

Controls the clear stclear attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_read_locked(self, set: bool) -> Self[src]

Controls the read locked attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_written(self, set: bool) -> Self[src]

Controls the written attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_platform_create(self, set: bool) -> Self[src]

Controls the platform create attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn with_read_stclear(self, set: bool) -> Self[src]

Controls the read stclear attribute

Arguments

  • set - true indicates that the attribute should have the value SET. falseindicates that the attribute should have the value CLEAR.

pub fn build(self) -> Result<NvIndexAttributes>[src]

Builds the nv index attributes.

Errors

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

Trait Implementations

impl Clone for NvIndexAttributesBuilder[src]

impl Copy for NvIndexAttributesBuilder[src]

impl Debug for NvIndexAttributesBuilder[src]

impl Default for NvIndexAttributesBuilder[src]

impl Eq for NvIndexAttributesBuilder[src]

impl PartialEq<NvIndexAttributesBuilder> for NvIndexAttributesBuilder[src]

impl StructuralEq for NvIndexAttributesBuilder[src]

impl StructuralPartialEq for NvIndexAttributesBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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.