pub trait HasPacketBody {
    // Required method
    fn mc_serialize_body<S>(&self, to: &mut S) -> SerializeResult
       where S: Serializer;
}Required Methods§
fn mc_serialize_body<S>(&self, to: &mut S) -> SerializeResultwhere
    S: Serializer,
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.