pub enum MongolConvertError {
MissTranslateRule(CodeType),
NothingToPop,
NotFoundInMapper(String),
NotSupportedCodeSeries(CodeType),
UnsupportedEnumType(String),
Unsupported(CodeType),
UnsupportedInputRepair(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.
UnsupportedInputRepair(CodeType)
Suffix separator repair currently accepts MenkLetter and Delehi source text only.
Utn57(String)
An in-process UTN #57 conversion (zvvnmod-utn57 + mongol-norm), either direction, failed.
Trait Implementations§
Source§impl Clone for MongolConvertError
impl Clone for MongolConvertError
Source§impl Debug for MongolConvertError
impl Debug for MongolConvertError
Source§impl Display for MongolConvertError
impl Display for MongolConvertError
impl Eq for MongolConvertError
Source§impl Error for MongolConvertError
impl Error for MongolConvertError
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 PartialEq for MongolConvertError
impl PartialEq for MongolConvertError
impl StructuralPartialEq for MongolConvertError
Auto Trait Implementations§
impl Freeze for MongolConvertError
impl RefUnwindSafe for MongolConvertError
impl Send for MongolConvertError
impl Sync for MongolConvertError
impl Unpin for MongolConvertError
impl UnsafeUnpin for MongolConvertError
impl UnwindSafe for MongolConvertError
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