pub enum ListResult<T> {
    Item(T),
    End,
    Error,
}
Expand description

List result instance. Fetching a list can result in a callback being fired for each list item, and then once to signal that the end of the list having been reached. This is used to distinguish such state to a closure callback.

Variants

Item(T)

List item

End

End of list reached

Error

Failure, an error occurred

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.

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.