pub enum ControlledVocabularyResolutionError {
UnknownControlledVocabulary(String),
UnknownControlledVocabularyCode(u8),
}Expand description
An error describing a failure to map a controlled vocabulary identifier to a known namespace
Variants§
Trait Implementations§
Source§impl Clone for ControlledVocabularyResolutionError
impl Clone for ControlledVocabularyResolutionError
Source§fn clone(&self) -> ControlledVocabularyResolutionError
fn clone(&self) -> ControlledVocabularyResolutionError
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 Error for ControlledVocabularyResolutionError
impl Error for ControlledVocabularyResolutionError
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<ControlledVocabularyResolutionError> for CURIEParsingError
impl From<ControlledVocabularyResolutionError> for CURIEParsingError
Source§fn from(source: ControlledVocabularyResolutionError) -> CURIEParsingError
fn from(source: ControlledVocabularyResolutionError) -> CURIEParsingError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ControlledVocabularyResolutionError
impl RefUnwindSafe for ControlledVocabularyResolutionError
impl Send for ControlledVocabularyResolutionError
impl Sync for ControlledVocabularyResolutionError
impl Unpin for ControlledVocabularyResolutionError
impl UnwindSafe for ControlledVocabularyResolutionError
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