[][src]Struct hdf5_sys::h5fd::H5FD_class_t

#[repr(C)]pub struct H5FD_class_t {
    pub name: *const c_char,
    pub maxaddr: haddr_t,
    pub fc_degree: H5F_close_degree_t,
    pub sb_size: Option<extern "C" fn(file: *mut H5FD_t) -> hsize_t>,
    pub sb_encode: Option<extern "C" fn(file: *mut H5FD_t, name: *mut c_char, p: *mut c_uchar) -> herr_t>,
    pub sb_decode: Option<extern "C" fn(f: *mut H5FD_t, name: *const c_char, p: *const c_uchar) -> herr_t>,
    pub fapl_size: size_t,
    pub fapl_get: Option<extern "C" fn(file: *mut H5FD_t) -> *mut c_void>,
    pub fapl_copy: Option<extern "C" fn(fapl: *const c_void) -> *mut c_void>,
    pub fapl_free: Option<extern "C" fn(fapl: *mut c_void) -> herr_t>,
    pub dxpl_size: size_t,
    pub dxpl_copy: Option<extern "C" fn(dxpl: *const c_void) -> *mut c_void>,
    pub dxpl_free: Option<extern "C" fn(dxpl: *mut c_void) -> herr_t>,
    pub open: Option<extern "C" fn(name: *const c_char, flags: c_uint, fapl: hid_t, maxaddr: haddr_t) -> *mut H5FD_t>,
    pub close: Option<extern "C" fn(file: *mut H5FD_t) -> herr_t>,
    pub cmp: Option<extern "C" fn(f1: *const H5FD_t, f2: *const H5FD_t) -> c_int>,
    pub query: Option<extern "C" fn(f1: *const H5FD_t, flags: *mut c_ulong) -> herr_t>,
    pub get_type_map: Option<extern "C" fn(file: *const H5FD_t, type_map: *mut H5FD_mem_t) -> herr_t>,
    pub alloc: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, size: hsize_t) -> haddr_t>,
    pub free: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, addr: haddr_t, size: hsize_t) -> herr_t>,
    pub get_eoa: Option<extern "C" fn(file: *const H5FD_t, type_: H5FD_mem_t) -> haddr_t>,
    pub set_eoa: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, addr: haddr_t) -> herr_t>,
    pub get_eof: Option<extern "C" fn(file: *const H5FD_t) -> haddr_t>,
    pub get_handle: Option<extern "C" fn(file: *mut H5FD_t, fapl: hid_t, file_handle: *mut *mut c_void) -> herr_t>,
    pub read: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *mut c_void) -> herr_t>,
    pub write: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *const c_void) -> herr_t>,
    pub flush: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: c_uint) -> herr_t>,
    pub truncate: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: hbool_t) -> herr_t>,
    pub lock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, lock_type: c_uint, last: hbool_t) -> herr_t>,
    pub unlock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, last: hbool_t) -> herr_t>,
    pub fl_map: [H5FD_mem_t; 7],
}

Fields

name: *const c_charmaxaddr: haddr_tfc_degree: H5F_close_degree_tsb_size: Option<extern "C" fn(file: *mut H5FD_t) -> hsize_t>sb_encode: Option<extern "C" fn(file: *mut H5FD_t, name: *mut c_char, p: *mut c_uchar) -> herr_t>sb_decode: Option<extern "C" fn(f: *mut H5FD_t, name: *const c_char, p: *const c_uchar) -> herr_t>fapl_size: size_tfapl_get: Option<extern "C" fn(file: *mut H5FD_t) -> *mut c_void>fapl_copy: Option<extern "C" fn(fapl: *const c_void) -> *mut c_void>fapl_free: Option<extern "C" fn(fapl: *mut c_void) -> herr_t>dxpl_size: size_tdxpl_copy: Option<extern "C" fn(dxpl: *const c_void) -> *mut c_void>dxpl_free: Option<extern "C" fn(dxpl: *mut c_void) -> herr_t>open: Option<extern "C" fn(name: *const c_char, flags: c_uint, fapl: hid_t, maxaddr: haddr_t) -> *mut H5FD_t>close: Option<extern "C" fn(file: *mut H5FD_t) -> herr_t>cmp: Option<extern "C" fn(f1: *const H5FD_t, f2: *const H5FD_t) -> c_int>query: Option<extern "C" fn(f1: *const H5FD_t, flags: *mut c_ulong) -> herr_t>get_type_map: Option<extern "C" fn(file: *const H5FD_t, type_map: *mut H5FD_mem_t) -> herr_t>alloc: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, size: hsize_t) -> haddr_t>free: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, addr: haddr_t, size: hsize_t) -> herr_t>get_eoa: Option<extern "C" fn(file: *const H5FD_t, type_: H5FD_mem_t) -> haddr_t>set_eoa: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, addr: haddr_t) -> herr_t>get_eof: Option<extern "C" fn(file: *const H5FD_t) -> haddr_t>get_handle: Option<extern "C" fn(file: *mut H5FD_t, fapl: hid_t, file_handle: *mut *mut c_void) -> herr_t>read: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *mut c_void) -> herr_t>write: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *const c_void) -> herr_t>flush: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: c_uint) -> herr_t>truncate: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: hbool_t) -> herr_t>lock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, lock_type: c_uint, last: hbool_t) -> herr_t>unlock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, last: hbool_t) -> herr_t>fl_map: [H5FD_mem_t; 7]

Trait Implementations

impl Clone for H5FD_class_t[src]

impl Copy for H5FD_class_t[src]

impl Debug for H5FD_class_t[src]

impl Default for H5FD_class_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.