Struct libe2fs_sys::struct_io_channel
source · #[repr(C)]pub struct struct_io_channel {
pub magic: errcode_t,
pub manager: io_manager,
pub name: *mut c_char,
pub block_size: c_int,
pub read_error: Option<unsafe extern "C" fn(channel: io_channel, block: c_ulong, count: c_int, data: *mut c_void, size: usize, actual_bytes_read: c_int, error: errcode_t) -> errcode_t>,
pub write_error: Option<unsafe extern "C" fn(channel: io_channel, block: c_ulong, count: c_int, data: *const c_void, size: usize, actual_bytes_written: c_int, error: errcode_t) -> errcode_t>,
pub refcount: c_int,
pub flags: c_int,
pub reserved: [c_long; 14],
pub private_data: *mut c_void,
pub app_data: *mut c_void,
pub align: c_int,
}Fields§
§magic: errcode_t§manager: io_manager§name: *mut c_char§block_size: c_int§read_error: Option<unsafe extern "C" fn(channel: io_channel, block: c_ulong, count: c_int, data: *mut c_void, size: usize, actual_bytes_read: c_int, error: errcode_t) -> errcode_t>§write_error: Option<unsafe extern "C" fn(channel: io_channel, block: c_ulong, count: c_int, data: *const c_void, size: usize, actual_bytes_written: c_int, error: errcode_t) -> errcode_t>§refcount: c_int§flags: c_int§reserved: [c_long; 14]§private_data: *mut c_void§app_data: *mut c_void§align: c_intTrait Implementations§
source§impl Clone for struct_io_channel
impl Clone for struct_io_channel
source§fn clone(&self) -> struct_io_channel
fn clone(&self) -> struct_io_channel
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 struct_io_channel
impl Debug for struct_io_channel
impl Copy for struct_io_channel
Auto Trait Implementations§
impl RefUnwindSafe for struct_io_channel
impl !Send for struct_io_channel
impl !Sync for struct_io_channel
impl Unpin for struct_io_channel
impl UnwindSafe for struct_io_channel
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