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