#[repr(C)]pub struct sg_fs_stats {Show 20 fields
pub device_name: *mut c_char,
pub device_canonical: *mut c_char,
pub fs_type: *mut c_char,
pub mnt_point: *mut c_char,
pub device_type: sg_fs_device_type,
pub size: c_ulonglong,
pub used: c_ulonglong,
pub free: c_ulonglong,
pub avail: c_ulonglong,
pub total_inodes: c_ulonglong,
pub used_inodes: c_ulonglong,
pub free_inodes: c_ulonglong,
pub avail_inodes: c_ulonglong,
pub io_size: c_ulonglong,
pub block_size: c_ulonglong,
pub total_blocks: c_ulonglong,
pub free_blocks: c_ulonglong,
pub used_blocks: c_ulonglong,
pub avail_blocks: c_ulonglong,
pub systime: time_t,
}Fields§
§device_name: *mut c_char§device_canonical: *mut c_char§fs_type: *mut c_char§mnt_point: *mut c_char§device_type: sg_fs_device_type§size: c_ulonglong§used: c_ulonglong§free: c_ulonglong§avail: c_ulonglong§total_inodes: c_ulonglong§used_inodes: c_ulonglong§free_inodes: c_ulonglong§avail_inodes: c_ulonglong§io_size: c_ulonglong§block_size: c_ulonglong§total_blocks: c_ulonglong§free_blocks: c_ulonglong§used_blocks: c_ulonglong§avail_blocks: c_ulonglong§systime: time_tTrait Implementations§
Source§impl Clone for sg_fs_stats
impl Clone for sg_fs_stats
Source§fn clone(&self) -> sg_fs_stats
fn clone(&self) -> sg_fs_stats
Returns a duplicate 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 sg_fs_stats
impl Debug for sg_fs_stats
impl Copy for sg_fs_stats
Auto Trait Implementations§
impl Freeze for sg_fs_stats
impl RefUnwindSafe for sg_fs_stats
impl !Send for sg_fs_stats
impl !Sync for sg_fs_stats
impl Unpin for sg_fs_stats
impl UnwindSafe for sg_fs_stats
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