pub enum Algorithm {
C14n,
C14nWithComments,
ExcC14n,
ExcC14nWithComments,
}Expand description
Canonicalization algorithm variants.
Variants§
C14n
Canonical XML 1.0 without comments.
C14nWithComments
Canonical XML 1.0 with comments.
ExcC14n
Exclusive Canonical XML 1.0 without comments.
ExcC14nWithComments
Exclusive Canonical XML 1.0 with comments.
Implementations§
Source§impl Algorithm
impl Algorithm
Sourcepub fn includes_comments(&self) -> bool
pub fn includes_comments(&self) -> bool
Returns whether this algorithm includes comments.
Sourcepub fn is_exclusive(&self) -> bool
pub fn is_exclusive(&self) -> bool
Returns whether this is an exclusive canonicalization algorithm.
Trait Implementations§
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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