pub struct XmlWriter { /* private fields */ }Expand description
Builds XML by appending element markup to a string.
The writer treats names as opaque: the caller owns namespace prefixes and their declarations, and closing an element is the caller’s promise that it was opened. That is all a fixed request body needs, and it keeps the output byte-for-byte predictable in tests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XmlWriter
impl RefUnwindSafe for XmlWriter
impl Send for XmlWriter
impl Sync for XmlWriter
impl Unpin for XmlWriter
impl UnsafeUnpin for XmlWriter
impl UnwindSafe for XmlWriter
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