pub enum MecoError {
MissTranslateRule(CodeType),
NothingToPop,
NotFoundInMapper(String),
NotSupportedCodeSeries(CodeType),
UnsupportedEnumType(String),
Unsupported(CodeType),
Utn57(String),
}Variants§
MissTranslateRule(CodeType)
No translate rule registered for this code (defensive; should be unreachable for supported types).
NothingToPop
Internal stack underflow during fragment processing.
NotFoundInMapper(String)
A key was not found in a mapper table (internal/diagnostic; content path passes through instead).
NotSupportedCodeSeries(CodeType)
A code’s series was neither Letter nor Shape (defensive; unreachable given the enum).
UnsupportedEnumType(String)
A string could not be parsed into a CodeType.
Unsupported(CodeType)
Conversion involving this code is not supported in the active build.
Utn57(String)
An in-process UTN #57 conversion (zvvnmod-utn57 + mongol-norm), either direction, failed.
Trait Implementations§
impl Eq for MecoError
Source§impl Error for MecoError
impl Error for MecoError
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()
impl StructuralPartialEq for MecoError
Auto Trait Implementations§
impl Freeze for MecoError
impl RefUnwindSafe for MecoError
impl Send for MecoError
impl Sync for MecoError
impl Unpin for MecoError
impl UnsafeUnpin for MecoError
impl UnwindSafe for MecoError
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