pub struct XmlValidator { /* private fields */ }Expand description
XML validator with configurable constraints.
Implementations§
Source§impl XmlValidator
impl XmlValidator
Sourcepub async fn validate_stream(
&self,
stream: BodyStream<'_>,
) -> Result<(), XmlValidationError>
pub async fn validate_stream( &self, stream: BodyStream<'_>, ) -> Result<(), XmlValidationError>
Validates XML from a PDK body stream.
Auto Trait Implementations§
impl Freeze for XmlValidator
impl RefUnwindSafe for XmlValidator
impl Send for XmlValidator
impl Sync for XmlValidator
impl Unpin for XmlValidator
impl UnsafeUnpin for XmlValidator
impl UnwindSafe for XmlValidator
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