Struct tss_esapi::attributes::nv_index::NvIndexAttributesBuilder [−][src]
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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates that the attribute should have the value CLEAR.
pub fn with_nv_index_type(self, nv_index_type: NvIndexType) -> Self
[src]
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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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.false
indicates 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]
fn clone(&self) -> NvIndexAttributesBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &NvIndexAttributesBuilder) -> bool
[src]
fn ne(&self, other: &NvIndexAttributesBuilder) -> bool
[src]
impl StructuralEq for NvIndexAttributesBuilder
[src]
impl StructuralPartialEq for NvIndexAttributesBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for NvIndexAttributesBuilder
impl Send for NvIndexAttributesBuilder
impl Sync for NvIndexAttributesBuilder
impl Unpin for NvIndexAttributesBuilder
impl UnwindSafe for NvIndexAttributesBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,