pub trait ExtensionTypeImpl:
'static
+ Send
+ Sync
+ Any {
// Required methods
fn name(&self) -> Cow<'_, str>;
fn serialize_metadata(&self) -> Option<Cow<'_, str>>;
fn dyn_clone(&self) -> Box<dyn ExtensionTypeImpl>;
fn dyn_eq(&self, other: &(dyn ExtensionTypeImpl + 'static)) -> bool;
fn dyn_hash(&self) -> u64;
fn dyn_display(&self) -> Cow<'_, str>;
fn dyn_debug(&self) -> Cow<'_, str>;
}Required Methods§
Sourcefn serialize_metadata(&self) -> Option<Cow<'_, str>>
fn serialize_metadata(&self) -> Option<Cow<'_, str>>
Serialize the metadata of the extension type.
fn dyn_clone(&self) -> Box<dyn ExtensionTypeImpl>
fn dyn_eq(&self, other: &(dyn ExtensionTypeImpl + 'static)) -> bool
fn dyn_hash(&self) -> u64
Sourcefn dyn_display(&self) -> Cow<'_, str>
fn dyn_display(&self) -> Cow<'_, str>
Display representation of the extension type.
Should be a short string representation, lowercase. For example: str, datetime[ms].