Struct fdb_sys::readgranulecontext
source · [−]#[repr(C)]pub struct readgranulecontext {
pub userContext: *mut c_void,
pub start_load_f: Option<unsafe extern "C" fn(filename: *const c_char, filenameLength: c_int, offset: i64, length: i64, fullFileLength: i64, context: *mut c_void) -> i64>,
pub get_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void) -> *mut u8>,
pub free_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void)>,
pub debugNoMaterialize: fdb_bool_t,
pub granuleParallelism: c_int,
}
Fields
userContext: *mut c_void
start_load_f: Option<unsafe extern "C" fn(filename: *const c_char, filenameLength: c_int, offset: i64, length: i64, fullFileLength: i64, context: *mut c_void) -> i64>
get_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void) -> *mut u8>
free_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void)>
debugNoMaterialize: fdb_bool_t
granuleParallelism: c_int
Trait Implementations
sourceimpl Clone for readgranulecontext
impl Clone for readgranulecontext
sourcefn clone(&self) -> readgranulecontext
fn clone(&self) -> readgranulecontext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for readgranulecontext
impl Debug for readgranulecontext
impl Copy for readgranulecontext
Auto Trait Implementations
impl RefUnwindSafe for readgranulecontext
impl !Send for readgranulecontext
impl !Sync for readgranulecontext
impl Unpin for readgranulecontext
impl UnwindSafe for readgranulecontext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more