[−][src]Struct rmp_serde::encode::Compound
Trait Implementations
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeTuple for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeTuple for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_element<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>Serialize a tuple element.
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a tuple.
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeStruct for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeStruct for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_field<T: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<(), Self::Error>Serialize a struct field.
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a struct.
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>Indicate that a struct field has been skipped.
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeSeq for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeSeq for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_element<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>Serialize a sequence element.
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a sequence.
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeStructVariant for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeStructVariant for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
_key: &'static str,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_field<T: ?Sized + Serialize>(
&mut self,
_key: &'static str,
value: &T
) -> Result<(), Self::Error>Serialize a struct variant field.
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a struct variant.
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>Indicate that a struct variant field has been skipped.
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeTupleStruct for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeTupleStruct for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_field<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>Serialize a tuple struct field.
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a tuple struct.
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeTupleVariant for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeTupleVariant for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_field<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>Serialize a tuple variant field.
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a tuple variant.
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeMap for Compound<'a, W, V>[src]
impl<'a, W: Write + 'a, V: VariantWriter + 'a> SerializeMap for Compound<'a, W, V>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: ?Sized + Serialize>(
&mut self,
key: &T
) -> Result<(), Self::Error>[src]
fn serialize_key<T: ?Sized + Serialize>(
&mut self,
key: &T
) -> Result<(), Self::Error>Serialize a map key. Read more
fn serialize_value<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>[src]
fn serialize_value<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>Serialize a map value. Read more
fn end(self) -> Result<Self::Ok, Self::Error>[src]
fn end(self) -> Result<Self::Ok, Self::Error>Finish serializing a map.
fn serialize_entry<K, V>(
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error> where
K: Serialize + ?Sized,
V: Serialize + ?Sized, [src]
fn serialize_entry<K, V>(
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error> where
K: Serialize + ?Sized,
V: Serialize + ?Sized, Serialize a map entry consisting of a key and a value. Read more
Auto Trait Implementations
impl<'a, W, V> Send for Compound<'a, W, V> where
V: Send,
W: Send,
impl<'a, W, V> Send for Compound<'a, W, V> where
V: Send,
W: Send, impl<'a, W, V> Sync for Compound<'a, W, V> where
V: Sync,
W: Sync,
impl<'a, W, V> Sync for Compound<'a, W, V> where
V: Sync,
W: Sync, Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>,