[−][src]Struct serde_pickle::ser::Compound
Trait Implementations
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<()>
[src]
fn serialize_value<T: Serialize + ?Sized>(&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,
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<()>
[src]
fn end(self) -> Result<()>
[src]
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<()>
[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]
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<()>
[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]
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<()>
[src]
fn end(self) -> Result<()>
[src]
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<()>
[src]
fn end(self) -> Result<()>
[src]
impl<'a, W: Write> SerializeTupleVariant for Compound<'a, W>
[src]
Auto Trait Implementations
impl<'a, W> RefUnwindSafe for Compound<'a, W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, W> Send for Compound<'a, W> where
W: Send,
W: Send,
impl<'a, W> Sync for Compound<'a, W> where
W: Sync,
W: Sync,
impl<'a, W> Unpin for Compound<'a, W>
impl<'a, W> !UnwindSafe for Compound<'a, 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,
pub 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.
pub 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>,