Struct linux_raw_sys::general::fscrypt_policy_v2
source · #[repr(C)]pub struct fscrypt_policy_v2 {
pub version: __u8,
pub contents_encryption_mode: __u8,
pub filenames_encryption_mode: __u8,
pub flags: __u8,
pub log2_data_unit_size: __u8,
pub __reserved: [__u8; 3],
pub master_key_identifier: [__u8; 16],
}
Fields§
§version: __u8
§contents_encryption_mode: __u8
§filenames_encryption_mode: __u8
§flags: __u8
§log2_data_unit_size: __u8
§__reserved: [__u8; 3]
§master_key_identifier: [__u8; 16]
Trait Implementations§
source§impl Clone for fscrypt_policy_v2
impl Clone for fscrypt_policy_v2
source§fn clone(&self) -> fscrypt_policy_v2
fn clone(&self) -> fscrypt_policy_v2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for fscrypt_policy_v2
impl Debug for fscrypt_policy_v2
impl Copy for fscrypt_policy_v2
Auto Trait Implementations§
impl Freeze for fscrypt_policy_v2
impl RefUnwindSafe for fscrypt_policy_v2
impl Send for fscrypt_policy_v2
impl Sync for fscrypt_policy_v2
impl Unpin for fscrypt_policy_v2
impl UnwindSafe for fscrypt_policy_v2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)