Function tarantool_rust_module::box_index_iterator [] [src]

pub unsafe extern "C" fn box_index_iterator(
    space_id: u32,
    index_id: u32,
    type_: c_int,
    key: *const c_char,
    key_end: *const c_char
) -> *mut BoxIterator

Allocate and initialize iterator for space_id, index_id.

A returned iterator must be destroyed by box_iterator_free().

\param space_id space identifier. \param index_id index identifier. \param type \link iterator_type iterator type \endlink \param key encoded key in MsgPack Array format ([part1, part2, ...]). \param key_end the end of encoded \a key \retval NULL on error (check box_error_last()) \retval iterator otherwise \sa box_iterator_next() \sa box_iterator_free()