Struct serde_pickle::ser::Compound
[−]
[src]
pub struct Compound<'a, W: Write + 'a> { /* fields omitted */ }
Trait Implementations
impl<'a, W: Write> SerializeSeq for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_element<T: Serialize + ?Sized>(&mut self, value: &T) -> Result<()>
Serialize a sequence element.
fn end(self) -> Result<()>
Finish serializing a sequence.
impl<'a, W: Write> SerializeTuple for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_element<T: Serialize + ?Sized>(&mut self, value: &T) -> Result<()>
Serialize a tuple element.
fn end(self) -> Result<()>
Finish serializing a tuple.
impl<'a, W: Write> SerializeTupleStruct for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: Serialize + ?Sized>(&mut self, value: &T) -> Result<()>
Serialize a tuple struct field.
fn end(self) -> Result<()>
Finish serializing a tuple struct.
impl<'a, W: Write> SerializeTupleVariant for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: Serialize + ?Sized>(&mut self, value: &T) -> Result<()>
Serialize a tuple variant field.
fn end(self) -> Result<()>
Finish serializing a tuple variant.
impl<'a, W: Write> SerializeMap for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_key<T: Serialize + ?Sized>(&mut self, key: &T) -> Result<()>
Serialize a map key.
fn serialize_value<T: Serialize + ?Sized>(&mut self, value: &T) -> Result<()>
Serialize a map value.
fn end(self) -> Result<()>
Finish serializing a map.
impl<'a, W: Write> SerializeStruct for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: Serialize + ?Sized>(&mut self,
key: &'static str,
value: &T)
-> Result<()>
key: &'static str,
value: &T)
-> Result<()>
Serialize a struct field.
fn end(self) -> Result<()>
Finish serializing a struct.
impl<'a, W: Write> SerializeStructVariant for Compound<'a, W>
[src]
type Ok = ()
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: Serialize + ?Sized>(&mut self,
key: &'static str,
value: &T)
-> Result<()>
key: &'static str,
value: &T)
-> Result<()>
Serialize a struct variant field.
fn end(self) -> Result<()>
Finish serializing a struct variant.