pub trait AsConverter<T> {
// Required methods
fn serialize(data: &T, guard: &ContextGuard<'_>) -> Result<Self>
where Self: Sized;
fn deserialize(self, guard: &ContextGuard<'_>) -> Result<T>;
}pub trait AsConverter<T> {
// Required methods
fn serialize(data: &T, guard: &ContextGuard<'_>) -> Result<Self>
where Self: Sized;
fn deserialize(self, guard: &ContextGuard<'_>) -> Result<T>;
}