Trait protosocket::Serializer
source · pub trait Serializer: Unpin {
type Message: Send;
// Required method
fn encode(&mut self, response: Self::Message, buffer: &mut impl BufMut);
}Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.