Type Alias tc_state::collection::Collection
source · pub type Collection = Collection<Txn, CacheBlock>;Aliased Type§
enum Collection {
BTree(BTree<Txn<State>, CacheBlock>),
Table(Table<Txn<State>, CacheBlock>),
Tensor(Tensor<Txn<State>, CacheBlock>),
}Variants§
BTree(BTree<Txn<State>, CacheBlock>)
Table(Table<Txn<State>, CacheBlock>)
Tensor(Tensor<Txn<State>, CacheBlock>)
Trait Implementations§
source§impl TryCastFrom<State> for Collection
impl TryCastFrom<State> for Collection
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.