Trait hyper_ast::impact::serialize::MySerializePar
source · pub trait MySerializePar {
type Ok;
type Error: Error;
// Required methods
fn serialize_element<T>(&mut self, value: &T) -> Result<(), Self::Error>
where T: MySerialize + Keyed<usize> + ?Sized;
fn end(self) -> Result<Self::Ok, Self::Error>;
}
Required Associated Types§
Required Methods§
sourcefn serialize_element<T>(&mut self, value: &T) -> Result<(), Self::Error>where
T: MySerialize + Keyed<usize> + ?Sized,
fn serialize_element<T>(&mut self, value: &T) -> Result<(), Self::Error>where T: MySerialize + Keyed<usize> + ?Sized,
Serialize a sequence element.