[][src]Struct pgx_pg_sys::CustomExecMethods

#[repr(C)]pub struct CustomExecMethods {
    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_charBeginCustomScan: 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

impl Clone for CustomExecMethods[src]

impl Copy for CustomExecMethods[src]

impl Debug for CustomExecMethods[src]

impl Default for CustomExecMethods[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.