pub trait NamespaceCursor: PageCursor {
// Required methods
fn namespace_id(&self) -> &NamespaceId;
fn last_key(&self) -> Option<&str>;
fn key_prefix(&self) -> String;
}Expand description
A cursor bound to one namespace keyspace.
Required Methods§
Sourcefn namespace_id(&self) -> &NamespaceId
fn namespace_id(&self) -> &NamespaceId
Namespace whose keyspace this cursor walks.
Sourcefn key_prefix(&self) -> String
fn key_prefix(&self) -> String
Prefix every key this cursor may name lies under.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".