Struct linux_uapi::x86_64::compat_statfs64
source · #[repr(C, packed(4))]pub struct compat_statfs64 {
pub f_type: __u32,
pub f_bsize: __u32,
pub f_blocks: __u64,
pub f_bfree: __u64,
pub f_bavail: __u64,
pub f_files: __u64,
pub f_ffree: __u64,
pub f_fsid: __kernel_fsid_t,
pub f_namelen: __u32,
pub f_frsize: __u32,
pub f_flags: __u32,
pub f_spare: [__u32; 4],
}
Fields§
§f_type: __u32
§f_bsize: __u32
§f_blocks: __u64
§f_bfree: __u64
§f_bavail: __u64
§f_files: __u64
§f_ffree: __u64
§f_fsid: __kernel_fsid_t
§f_namelen: __u32
§f_frsize: __u32
§f_flags: __u32
§f_spare: [__u32; 4]
Trait Implementations§
source§impl Clone for compat_statfs64
impl Clone for compat_statfs64
source§fn clone(&self) -> compat_statfs64
fn clone(&self) -> compat_statfs64
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 compat_statfs64
impl Debug for compat_statfs64
source§impl Default for compat_statfs64
impl Default for compat_statfs64
source§fn default() -> compat_statfs64
fn default() -> compat_statfs64
Returns the “default value” for a type. Read more
source§impl FromBytes for compat_statfs64
impl FromBytes for compat_statfs64
§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 compat_statfs64
impl FromZeros for compat_statfs64
source§impl IntoBytes for compat_statfs64where
__u32: IntoBytes,
__u64: IntoBytes,
__kernel_fsid_t: IntoBytes,
[__u32; 4]: IntoBytes,
HasPadding<compat_statfs64, { _ }>: ShouldBe<false>,
impl IntoBytes for compat_statfs64where
__u32: IntoBytes,
__u64: IntoBytes,
__kernel_fsid_t: IntoBytes,
[__u32; 4]: IntoBytes,
HasPadding<compat_statfs64, { _ }>: ShouldBe<false>,
impl Copy for compat_statfs64
Auto Trait Implementations§
impl Freeze for compat_statfs64
impl RefUnwindSafe for compat_statfs64
impl Send for compat_statfs64
impl Sync for compat_statfs64
impl Unpin for compat_statfs64
impl UnwindSafe for compat_statfs64
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