pub type IterPairResult<T> = Option<Result<KeyValue<T>, DatabaseError>>;
Expand description
A key-value pair coming from an iterator.
The Result
represents that the operation might fail, while the Option
represents whether or
not there is another entry.
Aliased Type§
enum IterPairResult<T> {
None,
Some(Result<(<T as Table>::Key, <T as Table>::Value), DatabaseError>),
}
Variants§
None
No value.
Some(Result<(<T as Table>::Key, <T as Table>::Value), DatabaseError>)
Some value of type T
.
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.