pub enum CompoundValidationError {
EmptyName,
EmptyCommonName,
EmptySystematicName,
EmptyIdentifierNamespace,
EmptyIdentifierValue,
}Expand description
Errors returned when constructing compound values.
Variants§
EmptyName
A primary compound name is empty.
EmptyCommonName
A common name is empty.
EmptySystematicName
A systematic name is empty.
EmptyIdentifierNamespace
An identifier registry namespace is empty.
EmptyIdentifierValue
An identifier value is empty.
Trait Implementations§
Source§impl Clone for CompoundValidationError
impl Clone for CompoundValidationError
Source§fn clone(&self) -> CompoundValidationError
fn clone(&self) -> CompoundValidationError
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 CompoundValidationError
impl Debug for CompoundValidationError
Source§impl Display for CompoundValidationError
impl Display for CompoundValidationError
Source§impl Error for CompoundValidationError
impl Error for CompoundValidationError
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 PartialEq for CompoundValidationError
impl PartialEq for CompoundValidationError
impl Eq for CompoundValidationError
impl StructuralPartialEq for CompoundValidationError
Auto Trait Implementations§
impl Freeze for CompoundValidationError
impl RefUnwindSafe for CompoundValidationError
impl Send for CompoundValidationError
impl Sync for CompoundValidationError
impl Unpin for CompoundValidationError
impl UnsafeUnpin for CompoundValidationError
impl UnwindSafe for CompoundValidationError
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