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§

source

type Ok

Must match the Ok type of our Serializer.

source

type Error: Error

Must match the Error type of our Serializer.

Required Methods§

source

fn serialize_object<T>(&mut self, value: &T) -> Result<(), Self::Error>where T: MySerialize + Keyed<usize> + ?Sized,

Serialize a sequence element.

source

fn end(self, s: &str) -> Result<Self::Ok, Self::Error>

Finish serializing a sequence.

Implementors§