#[repr(C)]pub struct CustomExecMethods {Show 13 fields
pub CustomName: *const c_char,
pub BeginCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, estate: *mut EState, eflags: c_int)>,
pub ExecCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState) -> *mut TupleTableSlot>,
pub EndCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>,
pub ReScanCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>,
pub MarkPosCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>,
pub RestrPosCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>,
pub EstimateDSMCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, pcxt: *mut ParallelContext) -> Size>,
pub InitializeDSMCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, pcxt: *mut ParallelContext, coordinate: *mut c_void)>,
pub ReInitializeDSMCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, pcxt: *mut ParallelContext, coordinate: *mut c_void)>,
pub InitializeWorkerCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, toc: *mut shm_toc, coordinate: *mut c_void)>,
pub ShutdownCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>,
pub ExplainCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, ancestors: *mut List, es: *mut ExplainState)>,
}
Fields§
§CustomName: *const c_char
§BeginCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, estate: *mut EState, eflags: c_int)>
§ExecCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState) -> *mut TupleTableSlot>
§EndCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>
§ReScanCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>
§MarkPosCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>
§RestrPosCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>
§EstimateDSMCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, pcxt: *mut ParallelContext) -> Size>
§InitializeDSMCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, pcxt: *mut ParallelContext, coordinate: *mut c_void)>
§ReInitializeDSMCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, pcxt: *mut ParallelContext, coordinate: *mut c_void)>
§InitializeWorkerCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, toc: *mut shm_toc, coordinate: *mut c_void)>
§ShutdownCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState)>
§ExplainCustomScan: Option<unsafe extern "C" fn(node: *mut CustomScanState, ancestors: *mut List, es: *mut ExplainState)>
Trait Implementations§
Source§impl Clone for CustomExecMethods
impl Clone for CustomExecMethods
Source§fn clone(&self) -> CustomExecMethods
fn clone(&self) -> CustomExecMethods
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 CustomExecMethods
impl Debug for CustomExecMethods
Source§impl Default for CustomExecMethods
impl Default for CustomExecMethods
impl Copy for CustomExecMethods
Auto Trait Implementations§
impl Freeze for CustomExecMethods
impl RefUnwindSafe for CustomExecMethods
impl !Send for CustomExecMethods
impl !Sync for CustomExecMethods
impl Unpin for CustomExecMethods
impl UnwindSafe for CustomExecMethods
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