Trait AnyVec

Source
pub trait AnyVec: Send + Sync {
    // Required methods
    fn version(&self) -> Version;
    fn name(&self) -> &str;
    fn len(&self) -> usize;
    fn index_type_to_string(&self) -> &'static str;
    fn value_type_to_size_of(&self) -> usize;

    // Provided methods
    fn is_empty(&self) -> bool { ... }
    fn etag(&self, stamp: Stamp, to: Option<i64>) -> String { ... }
    fn i64_to_usize(&self, i: i64) -> usize { ... }
}

Required Methods§

Source

fn version(&self) -> Version

Source

fn name(&self) -> &str

Source

fn len(&self) -> usize

Source

fn index_type_to_string(&self) -> &'static str

Source

fn value_type_to_size_of(&self) -> usize

Provided Methods§

Source

fn is_empty(&self) -> bool

Source

fn etag(&self, stamp: Stamp, to: Option<i64>) -> String

Source

fn i64_to_usize(&self, i: i64) -> usize

Implementors§

Source§

impl<I, T> AnyVec for StoredVec<I, T>

Source§

impl<I, T> AnyVec for CompressedVec<I, T>

Source§

impl<I, T> AnyVec for EagerVec<I, T>

Source§

impl<I, T> AnyVec for RawVec<I, T>
where I: StoredIndex, T: StoredRaw,

Source§

impl<I, T, S1I, S1T> AnyVec for LazyVecFrom1<I, T, S1I, S1T>
where I: StoredIndex, T: StoredRaw, S1I: StoredIndex, S1T: StoredRaw,

Source§

impl<I, T, S1I, S1T, S2I, S2T> AnyVec for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
where I: StoredIndex, T: StoredRaw, S1I: StoredIndex, S1T: StoredRaw, S2I: StoredIndex, S2T: StoredRaw,

Source§

impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyVec for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>

Source§

impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyVec for LazyVecFrom3<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
where I: StoredIndex, T: StoredRaw, S1I: StoredIndex, S1T: StoredRaw, S2I: StoredIndex, S2T: StoredRaw, S3I: StoredIndex, S3T: StoredRaw,