Module pgbox

Source

Structs§

AllocatedByPostgres
Indicates the PgBox contents were allocated by Postgres. This is also PgBox’ default understanding.
AllocatedByRust
Indicates the PgBox contents were allocated by Rust.
PgBox
Similar to Rust’s Box<T> type, PgBox<T> also represents heap-allocated memory.

Traits§

WhoAllocated
A trait to track if the contents of a PgBox were allocated by Rust or Postgres.