Trait mentat_db::db::PartitionMapping
[−]
[src]
pub trait PartitionMapping { fn allocate_entid<S: ?Sized + Ord + Display>(
&mut self,
partition: &S
) -> i64
where
String: Borrow<S>; fn allocate_entids<S: ?Sized + Ord + Display>(
&mut self,
partition: &S,
n: usize
) -> Range<i64>
where
String: Borrow<S>; fn contains_entid(&self, entid: Entid) -> bool; }
Required Methods
fn allocate_entid<S: ?Sized + Ord + Display>(&mut self, partition: &S) -> i64 where
String: Borrow<S>,
String: Borrow<S>,
ⓘImportant traits for Range<A>
fn allocate_entids<S: ?Sized + Ord + Display>(
&mut self,
partition: &S,
n: usize
) -> Range<i64> where
String: Borrow<S>,
&mut self,
partition: &S,
n: usize
) -> Range<i64> where
String: Borrow<S>,
fn contains_entid(&self, entid: Entid) -> bool
Implementors
impl PartitionMapping for PartitionMap