Struct gdbm::Gdbm[][src]

pub struct Gdbm { /* fields omitted */ }

Methods

impl Gdbm
[src]

Open a DBM with location. mode (see http://www.manpagez.com/man/2/chmod, and http://www.manpagez.com/man/2/open), which is used if the file is created).

This function returns either -1, 0 or +1. -1 means the item was not stored. 0 means it was stored and +1 means it was not stored because the key already existed. See the link below for more details. http://www.gnu.org.ua/software/gdbm/manual/gdbm.html#Store

Retrieve a key from the database

Delete a key and value from the database

Check to see if a key exists in the database

With locking disabled (if gdbm_open was called with ‘GDBM_NOLOCK’), the user may want to perform their own file locking on the database file in order to prevent multiple writers operating on the same file simultaneously.

Trait Implementations

impl Debug for Gdbm
[src]

Formats the value using the given formatter. Read more

impl Drop for Gdbm
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Gdbm

impl !Sync for Gdbm