[−][src]Struct cqdb_sys::tag_cqdb
\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
Auto Trait Implementations
impl RefUnwindSafe for tag_cqdb
[src]
impl Send for tag_cqdb
[src]
impl Sync for tag_cqdb
[src]
impl Unpin for tag_cqdb
[src]
impl UnwindSafe for tag_cqdb
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,