pub enum NumberToChineseError {
Overflow,
Underflow,
}
Available on crate feature
number-to-chinese
only.Expand description
將數值轉成中文數字時發生的錯誤。
Variants§
Trait Implementations§
source§impl Clone for NumberToChineseError
impl Clone for NumberToChineseError
source§fn clone(&self) -> NumberToChineseError
fn clone(&self) -> NumberToChineseError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NumberToChineseError
impl Debug for NumberToChineseError
source§impl Display for NumberToChineseError
impl Display for NumberToChineseError
source§impl Error for NumberToChineseError
Available on crate feature std
only.
impl Error for NumberToChineseError
Available on crate feature
std
only.1.30.0 · 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 PartialEq for NumberToChineseError
impl PartialEq for NumberToChineseError
source§fn eq(&self, other: &NumberToChineseError) -> bool
fn eq(&self, other: &NumberToChineseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NumberToChineseError
impl Eq for NumberToChineseError
impl StructuralEq for NumberToChineseError
impl StructuralPartialEq for NumberToChineseError
Auto Trait Implementations§
impl RefUnwindSafe for NumberToChineseError
impl Send for NumberToChineseError
impl Sync for NumberToChineseError
impl Unpin for NumberToChineseError
impl UnwindSafe for NumberToChineseError
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