Type Alias tc_state::collection::CollectionBase
source · pub type CollectionBase = CollectionBase<Txn, CacheBlock>;
Expand description
The base type of a Collection
Aliased Type§
enum CollectionBase {
BTree(BTreeFile<Txn<State>, CacheBlock>),
Table(TableFile<Txn<State>, CacheBlock>),
Tensor(TensorBase<Txn<State>, CacheBlock>),
}
Variants§
BTree(BTreeFile<Txn<State>, CacheBlock>)
Table(TableFile<Txn<State>, CacheBlock>)
Tensor(TensorBase<Txn<State>, CacheBlock>)
Trait Implementations§
source§impl TryCastFrom<State> for CollectionBase
impl TryCastFrom<State> for CollectionBase
source§fn can_cast_from(state: &State) -> bool
fn can_cast_from(state: &State) -> bool
Test if
value
can be cast into Self
.source§fn opt_cast_from(state: State) -> Option<Self>
fn opt_cast_from(state: State) -> Option<Self>
Returns
Some(Self)
if the source value can be cast into Self
, otherwise None
.