Module fbthrift_git::adapter

source ·

Structs

  • No-op adapter. Used if the key of a map is an adapted type, but the value isn’t, or vice versa.
  • Transforms the given adapter A into an adapter with the signature Vec<StandardType> -> Vec<AdaptedType>. Because Rust doesn’t have HKT, we cannot make this “generic” over multiple collection types.
  • Transforms the given adapter KA and KV into an adapter with the signature BTreeMap<KA::StandardType, KV::StandardType> -> BTreeMap<KA::AdaptedType, KV::AdaptedType>. Because Rust doesn’t have HKT, we cannot make this “generic” over multiple collection types.
  • Transforms the given adapter A into an adapter with the signature BTreeSet<StandardType> -> BTreeSet<AdaptedType>. Because Rust doesn’t have HKT, we cannot make this “generic” over multiple collection types.

Traits