Struct fscrypt_policy_v1

struct fscrypt_policy_v1 { ... }

Fields

version: __u8
contents_encryption_mode: __u8
filenames_encryption_mode: __u8
flags: __u8
master_key_descriptor: [__u8; 8]

Implementations

impl Clone for fscrypt_policy_v1

fn clone(self: &Self) -> fscrypt_policy_v1

impl Copy for fscrypt_policy_v1

impl Debug for fscrypt_policy_v1

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for fscrypt_policy_v1

impl RefUnwindSafe for fscrypt_policy_v1

impl Send for fscrypt_policy_v1

impl Sync for fscrypt_policy_v1

impl Unpin for fscrypt_policy_v1

impl UnsafeUnpin for fscrypt_policy_v1

impl UnwindSafe for fscrypt_policy_v1

impl<T> Any for fscrypt_policy_v1

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for fscrypt_policy_v1

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for fscrypt_policy_v1

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for fscrypt_policy_v1

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for fscrypt_policy_v1

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for fscrypt_policy_v1

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for fscrypt_policy_v1

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for fscrypt_policy_v1

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>