Module list

Source
Expand description

A safe wrapper around Postgres’ internal List structure.

It functions similarly to a Rust Vec, including iterator support, but provides separate understandings of Lists of pg_sys::Oids, Integers, and Pointers.

Re-exports§

pub use old_list::*;

Modules§

old_list

Structs§

ListCell
A strongly-typed ListCell
ListHead

Enums§

List
The List type from Postgres, lifted into Rust Note: you may want the ListHead type

Traits§

Enlist
The bound to describe a type which may be used in a Postgres List It must know what an appropriate type tag is, and how to pointer-cast to itself