pub struct SerializerWithPossibleBytesStart<'a, 'b, W: Write> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'s, 'b, W: Write> Serializer for SerializerWithPossibleBytesStart<'s, 'b, W>
impl<'s, 'b, W: Write> Serializer for SerializerWithPossibleBytesStart<'s, 'b, W>
Source§type SerializeElement = SerializeElement<'s, W>
type SerializeElement = SerializeElement<'s, W>
The type of the serializer that is used to serialize an element with children.
Source§type SerializeSeq = SerializeSeq<'s, 'b, W>
type SerializeSeq = SerializeSeq<'s, 'b, W>
The type of the serializer that is used to serialize a sequence of elements.
Source§fn serialize_cdata<S: AsRef<str>>(
self,
text: S,
) -> Result<Self::Ok, Self::Error>
fn serialize_cdata<S: AsRef<str>>( self, text: S, ) -> Result<Self::Ok, Self::Error>
Serialize a CDATA section.
Source§fn serialize_text<S: AsRef<str>>(self, text: S) -> Result<Self::Ok, Self::Error>
fn serialize_text<S: AsRef<str>>(self, text: S) -> Result<Self::Ok, Self::Error>
Serialize a text node.
Source§fn serialize_element<'a>(
self,
name: &'a ExpandedName<'a>,
) -> Result<Self::SerializeElement, Self::Error>
fn serialize_element<'a>( self, name: &'a ExpandedName<'a>, ) -> Result<Self::SerializeElement, Self::Error>
Serialize an element with children.
Source§fn serialize_seq(self) -> Result<Self::SerializeSeq, Self::Error>
fn serialize_seq(self) -> Result<Self::SerializeSeq, Self::Error>
Serialize a sequence of elements.
Source§fn serialize_decl<S: AsRef<str>>(
self,
version: S,
encoding: Option<S>,
standalone: Option<S>,
) -> Result<Self::Ok, Self::Error>
fn serialize_decl<S: AsRef<str>>( self, version: S, encoding: Option<S>, standalone: Option<S>, ) -> Result<Self::Ok, Self::Error>
Serialize an XML declaration.
Source§fn serialize_pi<S: AsRef<[u8]>>(self, text: S) -> Result<Self::Ok, Self::Error>
fn serialize_pi<S: AsRef<[u8]>>(self, text: S) -> Result<Self::Ok, Self::Error>
Serialize a processing instruction.
Source§fn serialize_comment<S: AsRef<[u8]>>(
self,
text: S,
) -> Result<Self::Ok, Self::Error>
fn serialize_comment<S: AsRef<[u8]>>( self, text: S, ) -> Result<Self::Ok, Self::Error>
Serialize a comment.
Auto Trait Implementations§
impl<'a, 'b, W> Freeze for SerializerWithPossibleBytesStart<'a, 'b, W>
impl<'a, 'b, W> RefUnwindSafe for SerializerWithPossibleBytesStart<'a, 'b, W>where
W: RefUnwindSafe,
impl<'a, 'b, W> Send for SerializerWithPossibleBytesStart<'a, 'b, W>where
W: Send,
impl<'a, 'b, W> Sync for SerializerWithPossibleBytesStart<'a, 'b, W>where
W: Sync,
impl<'a, 'b, W> Unpin for SerializerWithPossibleBytesStart<'a, 'b, W>
impl<'a, 'b, W> !UnwindSafe for SerializerWithPossibleBytesStart<'a, 'b, W>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more