Struct ockam_vault_core::SecretAttributes[][src]

pub struct SecretAttributes { /* fields omitted */ }

Attributes for a specific vault SecretKey

Implementations

impl SecretAttributes[src]

pub fn stype(&self) -> SecretType[src]

pub fn persistence(&self) -> SecretPersistence[src]

pub fn length(&self) -> usize[src]

impl SecretAttributes[src]

pub fn new(
    stype: SecretType,
    persistence: SecretPersistence,
    length: usize
) -> Self
[src]

Trait Implementations

impl Clone for SecretAttributes[src]

impl Copy for SecretAttributes[src]

impl Debug for SecretAttributes[src]

impl Eq for SecretAttributes[src]

impl PartialEq<SecretAttributes> for SecretAttributes[src]

impl StructuralEq for SecretAttributes[src]

impl StructuralPartialEq for SecretAttributes[src]

impl Zeroize for SecretAttributes[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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,