Structs
- Indicates the PgBox contents were allocated by Postgres. This is also PgBox’ default understanding.
- Indicates the PgBox contents were allocated by Rust.
- Similar to Rust’s
Box<T>
type,PgBox<T>
also represents heap-allocated memory.
Traits
- A trait to track if the contents of a PgBox were allocated by Rust or Postgres.