notmuch_sys::notmuch_database_destroy [] [src]

pub unsafe extern fn notmuch_database_destroy(database: *mut notmuch_database_t) -> notmuch_status_t

Destroy the notmuch database, closing it if necessary and freeing all associated resources.

Return value as in notmuch_database_close if the database was open; notmuch_database_destroy itself has no failure modes.