pub enum CURIEParsingError {
UnknownControlledVocabulary,
AccessionParsingError(AccessionCodeParseError),
MissingNamespaceSeparator,
}Expand description
An error that occured when parsing a CURIE
Variants§
UnknownControlledVocabulary
The CV name was not recognised
AccessionParsingError(AccessionCodeParseError)
The accession code could not be parsed
MissingNamespaceSeparator
No name separator ‘:’ could be found
Implementations§
Source§impl CURIEParsingError
impl CURIEParsingError
Sourcepub const fn description(&self) -> &'static str
pub const fn description(&self) -> &'static str
Get a desciption of this error as a fully formed sentence
Trait Implementations§
Source§impl Debug for CURIEParsingError
impl Debug for CURIEParsingError
Auto Trait Implementations§
impl Freeze for CURIEParsingError
impl RefUnwindSafe for CURIEParsingError
impl Send for CURIEParsingError
impl Sync for CURIEParsingError
impl Unpin for CURIEParsingError
impl UnsafeUnpin for CURIEParsingError
impl UnwindSafe for CURIEParsingError
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