Enum bookdata::marc::record::ParseCodeError
source · pub enum ParseCodeError {
CharError(ParseCharError),
IntError(TryFromIntError),
}
Expand description
Error parsing a code
Variants§
CharError(ParseCharError)
Error parsing a character
IntError(TryFromIntError)
Error converting to valid bounds
Trait Implementations§
source§impl Debug for ParseCodeError
impl Debug for ParseCodeError
source§impl Display for ParseCodeError
impl Display for ParseCodeError
source§impl Error for ParseCodeError
impl Error for ParseCodeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ParseCharError> for ParseCodeError
impl From<ParseCharError> for ParseCodeError
source§fn from(source: ParseCharError) -> Self
fn from(source: ParseCharError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for ParseCodeError
impl From<TryFromIntError> for ParseCodeError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ParseCodeError
impl Send for ParseCodeError
impl Sync for ParseCodeError
impl Unpin for ParseCodeError
impl UnwindSafe for ParseCodeError
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