Struct linux_raw_sys::loop_device::loop_info
source · #[repr(C)]pub struct loop_info {
pub lo_number: c_int,
pub lo_device: __kernel_old_dev_t,
pub lo_inode: c_ulong,
pub lo_rdevice: __kernel_old_dev_t,
pub lo_offset: c_int,
pub lo_encrypt_type: c_int,
pub lo_encrypt_key_size: c_int,
pub lo_flags: c_int,
pub lo_name: [c_char; 64],
pub lo_encrypt_key: [c_uchar; 32],
pub lo_init: [c_ulong; 2],
pub reserved: [c_char; 4],
}
Fields§
§lo_number: c_int
§lo_device: __kernel_old_dev_t
§lo_inode: c_ulong
§lo_rdevice: __kernel_old_dev_t
§lo_offset: c_int
§lo_encrypt_type: c_int
§lo_encrypt_key_size: c_int
§lo_flags: c_int
§lo_name: [c_char; 64]
§lo_encrypt_key: [c_uchar; 32]
§lo_init: [c_ulong; 2]
§reserved: [c_char; 4]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for loop_info
impl RefUnwindSafe for loop_info
impl Send for loop_info
impl Sync for loop_info
impl Unpin for loop_info
impl UnwindSafe for loop_info
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
)