Struct pgx_pg_sys::CustomExecMethods
source · [−]#[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
sourceimpl Clone for CustomExecMethods
impl Clone for CustomExecMethods
sourcefn clone(&self) -> CustomExecMethods
fn clone(&self) -> CustomExecMethods
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 CustomExecMethods
impl Debug for CustomExecMethods
sourceimpl Default for CustomExecMethods
impl Default for CustomExecMethods
impl Copy for CustomExecMethods
Auto Trait Implementations
impl RefUnwindSafe for CustomExecMethods
impl !Send for CustomExecMethods
impl !Sync for CustomExecMethods
impl Unpin for CustomExecMethods
impl UnwindSafe for CustomExecMethods
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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