Struct notmuch::Messages

source ·
pub struct Messages<'o, Owner: MessagesOwner + 'o> { /* private fields */ }

Implementations§

Return a list of tags from all messages.

The resulting list is guaranteed not to contain duplicated tags.

WARNING: You can no longer iterate over messages after calling this function, because the iterator will point at the end of the list. We do not have a function to reset the iterator yet and the only way how you can iterate over the list again is to recreate the message list.

The function returns NULL on error.

Trait Implementations§

Formats the value using the given formatter. Read more
Return either the next item in the sequence, or None if all items have been consumed. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Given ptr, which was obtained from a prior call to Self::borrow(), return a value with the same nominal lifetime which is guaranteed to survive mutations to Self. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.