#[non_exhaustive]pub enum ApplicabilityError {
Empty,
Invalid(String),
}Expand description
Invalid catalog applicability syntax.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
The selector string was empty or whitespace-only.
Invalid(String)
The selector had a / but its entity or predefined-type side was
empty, or it contained more than one /.
Trait Implementations§
Source§impl Clone for ApplicabilityError
impl Clone for ApplicabilityError
Source§fn clone(&self) -> ApplicabilityError
fn clone(&self) -> ApplicabilityError
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 moreSource§impl Debug for ApplicabilityError
impl Debug for ApplicabilityError
Source§impl Display for ApplicabilityError
impl Display for ApplicabilityError
impl Eq for ApplicabilityError
Source§impl Error for ApplicabilityError
impl Error for ApplicabilityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ApplicabilityError> for XmlImportError
impl From<ApplicabilityError> for XmlImportError
Source§fn from(source: ApplicabilityError) -> Self
fn from(source: ApplicabilityError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApplicabilityError
impl PartialEq for ApplicabilityError
impl StructuralPartialEq for ApplicabilityError
Auto Trait Implementations§
impl Freeze for ApplicabilityError
impl RefUnwindSafe for ApplicabilityError
impl Send for ApplicabilityError
impl Sync for ApplicabilityError
impl Unpin for ApplicabilityError
impl UnsafeUnpin for ApplicabilityError
impl UnwindSafe for ApplicabilityError
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