Struct linux_uapi::x86_64::loop_info64
source · #[repr(C)]pub struct loop_info64 {Show 13 fields
pub lo_device: __u64,
pub lo_inode: __u64,
pub lo_rdevice: __u64,
pub lo_offset: __u64,
pub lo_sizelimit: __u64,
pub lo_number: __u32,
pub lo_encrypt_type: __u32,
pub lo_encrypt_key_size: __u32,
pub lo_flags: __u32,
pub lo_file_name: [__u8; 64],
pub lo_crypt_name: [__u8; 64],
pub lo_encrypt_key: [__u8; 32],
pub lo_init: [__u64; 2],
}
Fields§
§lo_device: __u64
§lo_inode: __u64
§lo_rdevice: __u64
§lo_offset: __u64
§lo_sizelimit: __u64
§lo_number: __u32
§lo_encrypt_type: __u32
§lo_encrypt_key_size: __u32
§lo_flags: __u32
§lo_file_name: [__u8; 64]
§lo_crypt_name: [__u8; 64]
§lo_encrypt_key: [__u8; 32]
§lo_init: [__u64; 2]
Trait Implementations§
source§impl Clone for loop_info64
impl Clone for loop_info64
source§fn clone(&self) -> loop_info64
fn clone(&self) -> loop_info64
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 loop_info64
impl Debug for loop_info64
source§impl Default for loop_info64
impl Default for loop_info64
source§impl FromBytes for loop_info64
impl FromBytes for loop_info64
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for loop_info64
impl FromZeros for loop_info64
source§impl IntoBytes for loop_info64
impl IntoBytes for loop_info64
impl Copy for loop_info64
Auto Trait Implementations§
impl Freeze for loop_info64
impl RefUnwindSafe for loop_info64
impl Send for loop_info64
impl Sync for loop_info64
impl Unpin for loop_info64
impl UnwindSafe for loop_info64
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