pub enum XmlBackend {
Xmloxide,
Roxmltree,
Differential,
}Expand description
XML parser implementation selected for one document or operation.
Cargo features control which implementations are compiled. Selecting an implementation absent from a thin build fails explicitly; no parser fallback is performed.
Variants§
Xmloxide
Parse with the xmloxide adapter.
Roxmltree
Parse with the roxmltree adapter.
Differential
Parse with both adapters and fail closed unless their semantic arenas agree.
Implementations§
Source§impl XmlBackend
impl XmlBackend
Trait Implementations§
Source§impl Clone for XmlBackend
impl Clone for XmlBackend
Source§fn clone(&self) -> XmlBackend
fn clone(&self) -> XmlBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XmlBackend
Source§impl Debug for XmlBackend
impl Debug for XmlBackend
Source§impl Default for XmlBackend
impl Default for XmlBackend
impl Eq for XmlBackend
Source§impl Hash for XmlBackend
impl Hash for XmlBackend
Source§impl PartialEq for XmlBackend
impl PartialEq for XmlBackend
impl StructuralPartialEq for XmlBackend
Auto Trait Implementations§
impl Freeze for XmlBackend
impl RefUnwindSafe for XmlBackend
impl Send for XmlBackend
impl Sync for XmlBackend
impl Unpin for XmlBackend
impl UnsafeUnpin for XmlBackend
impl UnwindSafe for XmlBackend
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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