pub enum IdentificationError {
MissingProducer,
BadProducer,
MissingEpoch,
Map(MapError),
}
Expand description
Errors that can occur while mapping the identification block.
Variants§
MissingProducer
The IDENTIFICATION_CODE_PRODUCER
couldn’t be found.
BadProducer
The producer string is malformed.
MissingEpoch
The IDENTIFICATION_CODE_EPOCH
couldn’t be found.
Map(MapError)
A generic mapping error occured.
Trait Implementations§
Source§impl Debug for IdentificationError
impl Debug for IdentificationError
Source§impl Display for IdentificationError
impl Display for IdentificationError
Source§impl Error for IdentificationError
impl Error for IdentificationError
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<IdentificationError> for BlockMapError
impl From<IdentificationError> for BlockMapError
Source§fn from(source: IdentificationError) -> Self
fn from(source: IdentificationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentificationError
impl RefUnwindSafe for IdentificationError
impl Send for IdentificationError
impl Sync for IdentificationError
impl Unpin for IdentificationError
impl UnwindSafe for IdentificationError
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