Struct pgx_pg_sys::MemoizeState
source · [−]#[repr(C)]pub struct MemoizeState {Show 20 fields
pub ss: ScanState,
pub mstatus: c_int,
pub nkeys: c_int,
pub hashtable: *mut memoize_hash,
pub hashkeydesc: TupleDesc,
pub tableslot: *mut TupleTableSlot,
pub probeslot: *mut TupleTableSlot,
pub cache_eq_expr: *mut ExprState,
pub param_exprs: *mut *mut ExprState,
pub hashfunctions: *mut FmgrInfo,
pub collations: *mut Oid,
pub mem_used: uint64,
pub mem_limit: uint64,
pub tableContext: MemoryContext,
pub lru_list: dlist_head,
pub last_tuple: *mut MemoizeTuple,
pub entry: *mut MemoizeEntry,
pub singlerow: bool,
pub stats: MemoizeInstrumentation,
pub shared_info: *mut SharedMemoizeInfo,
}
Fields
ss: ScanState
mstatus: c_int
nkeys: c_int
hashtable: *mut memoize_hash
hashkeydesc: TupleDesc
tableslot: *mut TupleTableSlot
probeslot: *mut TupleTableSlot
cache_eq_expr: *mut ExprState
param_exprs: *mut *mut ExprState
hashfunctions: *mut FmgrInfo
collations: *mut Oid
mem_used: uint64
mem_limit: uint64
tableContext: MemoryContext
lru_list: dlist_head
last_tuple: *mut MemoizeTuple
entry: *mut MemoizeEntry
singlerow: bool
stats: MemoizeInstrumentation
Trait Implementations
sourceimpl Clone for MemoizeState
impl Clone for MemoizeState
sourcefn clone(&self) -> MemoizeState
fn clone(&self) -> MemoizeState
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 MemoizeState
impl Debug for MemoizeState
sourceimpl Default for MemoizeState
impl Default for MemoizeState
sourceimpl Display for MemoizeState
impl Display for MemoizeState
sourceimpl PgNode for MemoizeState
impl PgNode for MemoizeState
type NodeType = MemoizeState
sourcefn as_node_ptr(&self) -> *mut Self::NodeType
fn as_node_ptr(&self) -> *mut Self::NodeType
Represent this node as a mutable pointer of its type
impl Copy for MemoizeState
Auto Trait Implementations
impl RefUnwindSafe for MemoizeState
impl !Send for MemoizeState
impl !Sync for MemoizeState
impl Unpin for MemoizeState
impl UnwindSafe for MemoizeState
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