Type Alias IterPairResult
pub type IterPairResult<T> = Option<Result<(<T as Table>::Key, <T as Table>::Value), 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§
pub 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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.