pub trait Translator:
Send
+ Sync
+ 'static {
type External: Send + 'static;
type Internal: Send + 'static;
// Required method
fn translate(&self, ext: Self::External) -> Option<Self::Internal>;
}Expand description
Translate a value from one bounded context’s vocabulary to
another’s. Return None to drop the value.