[][src]Struct cqdb_sys::tag_cqdb

#[repr(C)]pub struct tag_cqdb { /* fields omitted */ }

\addtogroup cqdb_reader CQDB Reader API @{

The CQDB reader API provides a read access to the database whose memory image is loaded on a memory block. The memory-passing interface has several advantages. Firstly, one can choose an efficient way for their application to load a database image to a memory block, e.g., to read the whole image from a file, to use the Memory Mapped File (mmap) API, etc. Secondaly, one can design the file format freely only if the memory block for a database is extracted from the file.

The most fundamental operation on the CQDB reader API is forward lookup through the use of cqdb_to_id() function, which retrieves integer identifiers from strings. Reverse lookup (retrieving strings from integer identifiers) with cqdb_to_string() function is not supported if the database has been created with ::CQDB_ONEWAY flag.

Trait Implementations

impl Clone for tag_cqdb[src]

impl Copy for tag_cqdb[src]

impl Debug for tag_cqdb[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.