[−][src]Struct preserves::ser::SerializeCompound
Trait Implementations
impl<'a, 'b, W: Debug + Writer> Debug for SerializeCompound<'a, 'b, W> where
W::Compound: Debug,
[src]
W::Compound: Debug,
impl<'a, 'b, W: Writer> SerializeSeq for SerializeCompound<'a, 'b, W>
[src]
type Ok = W::Pointer
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> where
T: Serialize,
[src]
T: Serialize,
fn end(self) -> Result<Self::Ok, Error>
[src]
impl<'a, 'b, W: Writer> SerializeStruct for SerializeCompound<'a, 'b, W>
[src]
type Ok = W::Pointer
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: ?Sized>(
&mut self,
_name: &'static str,
value: &T
) -> Result<(), Error> where
T: Serialize,
[src]
&mut self,
_name: &'static str,
value: &T
) -> Result<(), Error> where
T: Serialize,
fn end(self) -> Result<Self::Ok, Error>
[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
impl<'a, 'b, W: Writer> SerializeStructVariant for SerializeCompound<'a, 'b, W>
[src]
type Ok = W::Pointer
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: ?Sized>(
&mut self,
_name: &'static str,
value: &T
) -> Result<(), Error> where
T: Serialize,
[src]
&mut self,
_name: &'static str,
value: &T
) -> Result<(), Error> where
T: Serialize,
fn end(self) -> Result<Self::Ok, Error>
[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
impl<'a, 'b, W: Writer> SerializeTuple for SerializeCompound<'a, 'b, W>
[src]
type Ok = W::Pointer
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> where
T: Serialize,
[src]
T: Serialize,
fn end(self) -> Result<Self::Ok, Error>
[src]
impl<'a, 'b, W: Writer> SerializeTupleStruct for SerializeCompound<'a, 'b, W>
[src]
type Ok = W::Pointer
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> where
T: Serialize,
[src]
T: Serialize,
fn end(self) -> Result<Self::Ok, Error>
[src]
impl<'a, 'b, W: Writer> SerializeTupleVariant for SerializeCompound<'a, 'b, W>
[src]
Auto Trait Implementations
impl<'a, 'b, W> RefUnwindSafe for SerializeCompound<'a, 'b, W> where
W: RefUnwindSafe,
<W as Writer>::Compound: RefUnwindSafe,
W: RefUnwindSafe,
<W as Writer>::Compound: RefUnwindSafe,
impl<'a, 'b, W> Send for SerializeCompound<'a, 'b, W> where
W: Send,
<W as Writer>::Compound: Send,
W: Send,
<W as Writer>::Compound: Send,
impl<'a, 'b, W> Sync for SerializeCompound<'a, 'b, W> where
W: Sync,
<W as Writer>::Compound: Sync,
W: Sync,
<W as Writer>::Compound: Sync,
impl<'a, 'b, W> Unpin for SerializeCompound<'a, 'b, W> where
<W as Writer>::Compound: Unpin,
'b: 'a,
<W as Writer>::Compound: Unpin,
'b: 'a,
impl<'a, 'b, W> !UnwindSafe for SerializeCompound<'a, 'b, W>
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>,