[][src]Struct safe_core::ffi::MDataInfo

#[repr(C)]pub struct MDataInfo {
    pub seq: bool,
    pub name: XorNameArray,
    pub type_tag: u64,
    pub has_enc_info: bool,
    pub enc_key: SymSecretKey,
    pub enc_nonce: SymNonce,
    pub has_new_enc_info: bool,
    pub new_enc_key: SymSecretKey,
    pub new_enc_nonce: SymNonce,
}

FFI wrapper for MDataInfo.

Fields

seq: bool

The kind of the mutable data.

name: XorNameArray

Name of the mutable data.

type_tag: u64

Type tag of the mutable data.

has_enc_info: bool

Flag indicating whether the encryption info (enc_key and enc_nonce) is set.

enc_key: SymSecretKey

Encryption key. Meaningful only if has_enc_info is true.

enc_nonce: SymNonce

Encryption nonce. Meaningful only if has_enc_info is true.

has_new_enc_info: bool

Flag indicating whether the new encryption info is set.

new_enc_key: SymSecretKey

New encryption key (used for two-phase reencryption). Meaningful only if has_new_enc_info is true.

new_enc_nonce: SymNonce

New encryption nonce (used for two-phase reencryption). Meaningful only if has_new_enc_info is true.

Trait Implementations

impl Clone for MDataInfo[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> CloneAny for T where
    T: Clone + Any

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<T> UnsafeAny for T where
    T: Any

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