Function notmuch_sys::notmuch_query_count_messages_st [] [src]

pub unsafe extern "C" fn notmuch_query_count_messages_st(
    query: *mut notmuch_query_t,
    count: *mut c_uint
) -> notmuch_status_t

Return the number of messages matching a search.

This function performs a search and returns the number of matching messages.

@returns

notmuch_status_t::SUCCESS: query completed successfully.

notmuch_status_t::XAPIAN_EXCEPTION: a Xapian exception occured. The value of *count is not defined.

@since libnotmuch 4.3 (notmuch 0.21)