pub enum NamespaceWarning {
NonStandardPrefix {
uri: String,
used_prefix: String,
preferred_prefix: String,
},
UnknownNamespace {
uri: String,
prefix: String,
},
RedundantDeclaration {
uri: String,
prefix: String,
},
}
Expand description
Namespace-related warnings
Variants§
NonStandardPrefix
Using non-standard prefix for known namespace
UnknownNamespace
Unknown/unregistered namespace
RedundantDeclaration
Redundant namespace declaration
Trait Implementations§
Source§impl Clone for NamespaceWarning
impl Clone for NamespaceWarning
Source§fn clone(&self) -> NamespaceWarning
fn clone(&self) -> NamespaceWarning
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NamespaceWarning
impl Debug for NamespaceWarning
Source§impl Display for NamespaceWarning
impl Display for NamespaceWarning
Source§impl PartialEq for NamespaceWarning
impl PartialEq for NamespaceWarning
impl StructuralPartialEq for NamespaceWarning
Auto Trait Implementations§
impl Freeze for NamespaceWarning
impl RefUnwindSafe for NamespaceWarning
impl Send for NamespaceWarning
impl Sync for NamespaceWarning
impl Unpin for NamespaceWarning
impl UnwindSafe for NamespaceWarning
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