pub fn strinc(prefix: impl Into<Key>) -> FdbResult<Key>
Expand description
Computes the first key that would sort outside the range prefixed
by prefix
.
The prefix
must not be empty or contain only 0xFF
bytes. That
is prefix
must contain at least one byte not equal to 0xFF
.
This resulting Key
serves as the exclusive upper-bound for
all keys prefixed by the argument prefix
. In other words, it is
the first key for which the argument prefix
is not a prefix.