Trait tidb_query_expr::impl_compare_in::InByHash[][src]

pub trait InByHash {
    type Key: EvaluableRet + Extract + Eq;
    type StoreKey: 'static + Hash + Eq + Sized + Send;
    fn map(key: Self::Key) -> Result<Self::StoreKey>;
fn map_ref(key: &Self::Key) -> Result<&Self::StoreKey>; }

Associated Types

type Key: EvaluableRet + Extract + Eq[src]

type StoreKey: 'static + Hash + Eq + Sized + Send[src]

Loading content...

Required methods

fn map(key: Self::Key) -> Result<Self::StoreKey>[src]

fn map_ref(key: &Self::Key) -> Result<&Self::StoreKey>[src]

Loading content...

Implementors

impl<C: Collator> InByHash for CollationAwareBytesInByHash<C>[src]

type Key = Bytes

type StoreKey = SortKey<Bytes, C>

impl<K: EvaluableRet + Extract + Hash + Eq + Sized> InByHash for NormalInByHash<K>[src]

type Key = K

type StoreKey = K

Loading content...