[−][src]Struct rmp_serde::encode::Compound
Part of serde serialization API.
Trait Implementations
impl<'a, W: Debug + 'a, C: Debug + 'a> Debug for Compound<'a, W, C>
[src]
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeMap for Compound<'a, W, C>
[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: ?Sized + Serialize>(
&mut self,
key: &T
) -> Result<(), Self::Error>
[src]
&mut self,
key: &T
) -> Result<(), Self::Error>
fn serialize_value<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>
[src]
&mut self,
value: &T
) -> Result<(), Self::Error>
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
fn serialize_entry<K, V>(
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error> where
K: Serialize + ?Sized,
V: Serialize + ?Sized,
[src]
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error> where
K: Serialize + ?Sized,
V: Serialize + ?Sized,
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeSeq for Compound<'a, W, C>
[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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>
[src]
&mut self,
value: &T
) -> Result<(), Self::Error>
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeStruct for Compound<'a, W, C>
[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: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<(), Self::Error>
[src]
&mut self,
key: &'static str,
value: &T
) -> Result<(), Self::Error>
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeStructVariant for Compound<'a, W, C>
[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: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<(), Self::Error>
[src]
&mut self,
key: &'static str,
value: &T
) -> Result<(), Self::Error>
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeTuple for Compound<'a, W, C>
[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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>
[src]
&mut self,
value: &T
) -> Result<(), Self::Error>
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeTupleStruct for Compound<'a, W, C>
[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: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Self::Error>
[src]
&mut self,
value: &T
) -> Result<(), Self::Error>
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
impl<'a, W: Write + 'a, C: SerializerConfig> SerializeTupleVariant for Compound<'a, W, C>
[src]
Auto Trait Implementations
impl<'a, W, C> RefUnwindSafe for Compound<'a, W, C> where
C: RefUnwindSafe,
W: RefUnwindSafe,
C: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, W, C> Send for Compound<'a, W, C> where
C: Send,
W: Send,
C: Send,
W: Send,
impl<'a, W, C> Sync for Compound<'a, W, C> where
C: Sync,
W: Sync,
C: Sync,
W: Sync,
impl<'a, W, C> Unpin for Compound<'a, W, C>
impl<'a, W, C> !UnwindSafe for Compound<'a, W, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,