pub struct ExcC14nProcessor { /* private fields */ }Expand description
Canonicalizes an XML document according to Exclusive C14N 1.0.
Implementations§
Source§impl ExcC14nProcessor
impl ExcC14nProcessor
Sourcepub fn new(options: ExcC14nOptions) -> Self
pub fn new(options: ExcC14nOptions) -> Self
Creates a new Exclusive C14N processor with the given options.
Sourcepub fn without_comments() -> Self
pub fn without_comments() -> Self
Creates a processor for Exclusive C14N without comments.
Sourcepub fn with_comments() -> Self
pub fn with_comments() -> Self
Creates a processor for Exclusive C14N with comments.
Sourcepub fn with_inclusive_prefixes(prefixes: Vec<String>) -> Self
pub fn with_inclusive_prefixes(prefixes: Vec<String>) -> Self
Creates a processor with inclusive namespace prefixes.
Auto Trait Implementations§
impl Freeze for ExcC14nProcessor
impl RefUnwindSafe for ExcC14nProcessor
impl Send for ExcC14nProcessor
impl Sync for ExcC14nProcessor
impl Unpin for ExcC14nProcessor
impl UnwindSafe for ExcC14nProcessor
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