pub enum CatchNameTest {
Any,
LocalNameOnly(String),
PrefixWildcard(String),
QName {
prefix: Option<String>,
local: String,
},
}Expand description
One name-test in an XPath try/catch catch clause name list.
Variants§
Any
* — any error matches.
LocalNameOnly(String)
*:NCName — matches any-namespace, specific local name.
PrefixWildcard(String)
prefix:* — namespace wildcard.
QName
prefix:local / local — fully-qualified.
Trait Implementations§
Source§impl Clone for CatchNameTest
impl Clone for CatchNameTest
Source§fn clone(&self) -> CatchNameTest
fn clone(&self) -> CatchNameTest
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 moreAuto Trait Implementations§
impl Freeze for CatchNameTest
impl RefUnwindSafe for CatchNameTest
impl Send for CatchNameTest
impl Sync for CatchNameTest
impl Unpin for CatchNameTest
impl UnsafeUnpin for CatchNameTest
impl UnwindSafe for CatchNameTest
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