[−][src]Struct serde_ini::ser::MapSerializer
Trait Implementations
impl<'a, W: Write> SerializeMap for MapSerializer<'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: ?Sized + Serialize>(&mut self, key: &T) -> Result<()>
[src]
fn serialize_value<T: ?Sized + Serialize>(&mut self, value: &T) -> Result<()>
[src]
fn end(self) -> Result<()>
[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,
Serialize a map entry consisting of a key and a value. Read more
impl<'a, W: Write> SerializeStruct for MapSerializer<'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: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<()>
[src]
&mut self,
key: &'static str,
value: &T
) -> Result<()>
fn end(self) -> Result<()>
[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
Indicate that a struct field has been skipped.
Auto Trait Implementations
impl<'a, W> Send for MapSerializer<'a, W> where
W: Send,
W: Send,
impl<'a, W> Sync for MapSerializer<'a, W> where
W: Sync,
W: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,