#[repr(C)]
pub struct struct_ext2_filsys {
Show 47 fields pub magic: errcode_t, pub io: io_channel, pub flags: c_int, pub device_name: *mut c_char, pub super_: *mut ext2_super_block, pub blocksize: c_uint, pub fragsize: c_int, pub group_desc_count: dgrp_t, pub desc_blocks: c_ulong, pub group_desc: *mut opaque_ext2_group_desc, pub inode_blocks_per_group: c_uint, pub inode_map: ext2fs_inode_bitmap, pub block_map: ext2fs_block_bitmap, pub get_blocks: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t, blocks: *mut blk_t) -> errcode_t>, pub check_directory: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t) -> errcode_t>, pub write_bitmaps: Option<unsafe extern "C" fn(fs: ext2_filsys) -> errcode_t>, pub read_inode: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t, inode: *mut ext2_inode) -> errcode_t>, pub write_inode: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t, inode: *mut ext2_inode) -> errcode_t>, pub badblocks: ext2_badblocks_list, pub dblist: ext2_dblist, pub stride: __u32, pub orig_super: *mut ext2_super_block, pub image_header: *mut ext2_image_hdr, pub umask: __u32, pub now: time_t, pub cluster_ratio_bits: c_int, pub default_bitmap_type: __u16, pub pad: __u16, pub reserved: [__u32; 5], pub priv_data: *mut c_void, pub icache: *mut ext2_inode_cache, pub image_io: io_channel, pub get_alloc_block: Option<unsafe extern "C" fn(fs: ext2_filsys, goal: blk64_t, ret: *mut blk64_t) -> errcode_t>, pub get_alloc_block2: Option<unsafe extern "C" fn(fs: ext2_filsys, goal: blk64_t, ret: *mut blk64_t, ctx: *mut blk_alloc_ctx) -> errcode_t>, pub block_alloc_stats: Option<unsafe extern "C" fn(fs: ext2_filsys, blk: blk64_t, inuse: c_int)>, pub mmp_buf: *mut c_void, pub mmp_cmp: *mut c_void, pub mmp_fd: c_int, pub mmp_last_written: c_long, pub progress_ops: *mut ext2fs_progress_ops, pub csum_seed: __u32, pub journal_io: io_channel, pub journal_name: *mut c_char, pub new_range: Option<unsafe extern "C" fn(fs: ext2_filsys, flags: c_int, goal: blk64_t, len: blk64_t, pblk: *mut blk64_t, plen: *mut blk64_t) -> errcode_t>, pub block_alloc_stats_range: Option<unsafe extern "C" fn(fs: ext2_filsys, blk: blk64_t, num: blk_t, inuse: c_int)>, pub block_sha_map: *mut ext2fs_hashmap, pub encoding: *mut ext2fs_nls_table,
}

Fields§

§magic: errcode_t§io: io_channel§flags: c_int§device_name: *mut c_char§super_: *mut ext2_super_block§blocksize: c_uint§fragsize: c_int§group_desc_count: dgrp_t§desc_blocks: c_ulong§group_desc: *mut opaque_ext2_group_desc§inode_blocks_per_group: c_uint§inode_map: ext2fs_inode_bitmap§block_map: ext2fs_block_bitmap§get_blocks: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t, blocks: *mut blk_t) -> errcode_t>§check_directory: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t) -> errcode_t>§write_bitmaps: Option<unsafe extern "C" fn(fs: ext2_filsys) -> errcode_t>§read_inode: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t, inode: *mut ext2_inode) -> errcode_t>§write_inode: Option<unsafe extern "C" fn(fs: ext2_filsys, ino: ext2_ino_t, inode: *mut ext2_inode) -> errcode_t>§badblocks: ext2_badblocks_list§dblist: ext2_dblist§stride: __u32§orig_super: *mut ext2_super_block§image_header: *mut ext2_image_hdr§umask: __u32§now: time_t§cluster_ratio_bits: c_int§default_bitmap_type: __u16§pad: __u16§reserved: [__u32; 5]§priv_data: *mut c_void§icache: *mut ext2_inode_cache§image_io: io_channel§get_alloc_block: Option<unsafe extern "C" fn(fs: ext2_filsys, goal: blk64_t, ret: *mut blk64_t) -> errcode_t>§get_alloc_block2: Option<unsafe extern "C" fn(fs: ext2_filsys, goal: blk64_t, ret: *mut blk64_t, ctx: *mut blk_alloc_ctx) -> errcode_t>§block_alloc_stats: Option<unsafe extern "C" fn(fs: ext2_filsys, blk: blk64_t, inuse: c_int)>§mmp_buf: *mut c_void§mmp_cmp: *mut c_void§mmp_fd: c_int§mmp_last_written: c_long§progress_ops: *mut ext2fs_progress_ops§csum_seed: __u32§journal_io: io_channel§journal_name: *mut c_char§new_range: Option<unsafe extern "C" fn(fs: ext2_filsys, flags: c_int, goal: blk64_t, len: blk64_t, pblk: *mut blk64_t, plen: *mut blk64_t) -> errcode_t>§block_alloc_stats_range: Option<unsafe extern "C" fn(fs: ext2_filsys, blk: blk64_t, num: blk_t, inuse: c_int)>§block_sha_map: *mut ext2fs_hashmap§encoding: *mut ext2fs_nls_table

Trait Implementations§

source§

impl Clone for struct_ext2_filsys

source§

fn clone(&self) -> struct_ext2_filsys

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for struct_ext2_filsys

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for struct_ext2_filsys

source§

impl Send for struct_ext2_filsys

source§

impl Sync for struct_ext2_filsys

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.