Trait reproto_core::Flavor
[−]
[src]
pub trait Flavor: Debug + Clone + Eq + Hash { type Type: Debug + Clone + Eq; type Name: Display + Debug + Clone + Eq; type Field: FlavorField; type Endpoint: Debug + Clone; type Package: Debug + Clone + Eq + Ord + Hash + AsPackage; }
The flavor of intermediate representation being used.
Associated Types
type Type: Debug + Clone + Eq
The type that this flavor serializes to.
type Name: Display + Debug + Clone + Eq
The local field name.
type Field: FlavorField
The field that this flavor serializes to.
type Endpoint: Debug + Clone
The endpoint that this flavor serializes to.
type Package: Debug + Clone + Eq + Ord + Hash + AsPackage
The package type.
Implementors
impl Flavor for CoreFlavor type Type = RpType<CoreFlavor>; type Name = RpName<CoreFlavor>; type Field = RpField<CoreFlavor>; type Endpoint = RpEndpoint<CoreFlavor>; type Package = RpVersionedPackage;