Struct pgx_pg_sys::BufferUsage
source · [−]#[repr(C)]pub struct BufferUsage {
pub shared_blks_hit: int64,
pub shared_blks_read: int64,
pub shared_blks_dirtied: int64,
pub shared_blks_written: int64,
pub local_blks_hit: int64,
pub local_blks_read: int64,
pub local_blks_dirtied: int64,
pub local_blks_written: int64,
pub temp_blks_read: int64,
pub temp_blks_written: int64,
pub blk_read_time: instr_time,
pub blk_write_time: instr_time,
}
Fields
local_blks_hit: int64
local_blks_read: int64
local_blks_dirtied: int64
local_blks_written: int64
temp_blks_read: int64
temp_blks_written: int64
blk_read_time: instr_time
blk_write_time: instr_time
Trait Implementations
sourceimpl Clone for BufferUsage
impl Clone for BufferUsage
sourcefn clone(&self) -> BufferUsage
fn clone(&self) -> BufferUsage
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 BufferUsage
impl Debug for BufferUsage
sourceimpl Default for BufferUsage
impl Default for BufferUsage
sourcefn default() -> BufferUsage
fn default() -> BufferUsage
Returns the “default value” for a type. Read more
impl Copy for BufferUsage
Auto Trait Implementations
impl RefUnwindSafe for BufferUsage
impl Send for BufferUsage
impl Sync for BufferUsage
impl Unpin for BufferUsage
impl UnwindSafe for BufferUsage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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