[][src]Enum parsec_interface::operations::psa_key_attributes::Lifetime

pub enum Lifetime {
    Volatile,
    Persistent,
    Custom(u32),
}

The lifetime of a key indicates where it is stored and which application and system actions will create and destroy it.

Variants

Volatile

A volatile key only exists as long as the identifier to it is not destroyed.

Persistent

A persistent key remains in storage until it is explicitly destroyed or until the corresponding storage area is wiped.

Custom(u32)

Implementations can offer other storage areas designated by other lifetime values as implementation-specific extensions.

Trait Implementations

impl Clone for Lifetime[src]

impl Copy for Lifetime[src]

impl Debug for Lifetime[src]

impl<'de> Deserialize<'de> for Lifetime[src]

impl PartialEq<Lifetime> for Lifetime[src]

impl Serialize for Lifetime[src]

impl StructuralPartialEq for Lifetime[src]

impl Zeroize for Lifetime[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]