pub trait SGroup: Sized {
// Required methods
fn serialize2<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>;
fn deserialize2<'d, D: Deserializer<'d>>(d: D) -> Result<Self, D::Error>;
}
Required Methods§
fn serialize2<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>
fn deserialize2<'d, D: Deserializer<'d>>(d: D) -> Result<Self, D::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.