[−][src]Struct pgx_pg_sys::MemoryContextMethods
Fields
alloc: Option<unsafe extern "C" fn(context: MemoryContext, size: Size) -> *mut c_void>
free_p: Option<unsafe extern "C" fn(context: MemoryContext, pointer: *mut c_void)>
realloc: Option<unsafe extern "C" fn(context: MemoryContext, pointer: *mut c_void, size: Size) -> *mut c_void>
reset: Option<unsafe extern "C" fn(context: MemoryContext)>
delete_context: Option<unsafe extern "C" fn(context: MemoryContext)>
get_chunk_space: Option<unsafe extern "C" fn(context: MemoryContext, pointer: *mut c_void) -> Size>
is_empty: Option<unsafe extern "C" fn(context: MemoryContext) -> bool>
stats: Option<unsafe extern "C" fn(context: MemoryContext, printfunc: MemoryStatsPrintFunc, passthru: *mut c_void, totals: *mut MemoryContextCounters)>
check: Option<unsafe extern "C" fn(context: MemoryContext)>
Trait Implementations
impl Clone for MemoryContextMethods
[src]
pub fn clone(&self) -> MemoryContextMethods
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MemoryContextMethods
[src]
impl Debug for MemoryContextMethods
[src]
impl Default for MemoryContextMethods
[src]
pub fn default() -> MemoryContextMethods
[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryContextMethods
[src]
impl Send for MemoryContextMethods
[src]
impl Sync for MemoryContextMethods
[src]
impl Unpin for MemoryContextMethods
[src]
impl UnwindSafe for MemoryContextMethods
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,