pub enum RadixErr {
RadixNotSupported(usize),
EmptyInput,
FailedToPopFromStack,
FailedToUppercase,
IllegalChar(char),
IllegalDigit(usize),
InvalidDigit {
digit: char,
radix: usize,
},
}
Variants§
RadixNotSupported(usize)
EmptyInput
FailedToPopFromStack
FailedToUppercase
IllegalChar(char)
IllegalDigit(usize)
InvalidDigit
Trait Implementations§
Source§impl Error for RadixErr
impl Error for RadixErr
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
impl Copy for RadixErr
impl Eq for RadixErr
impl StructuralPartialEq for RadixErr
Auto Trait Implementations§
impl Freeze for RadixErr
impl RefUnwindSafe for RadixErr
impl Send for RadixErr
impl Sync for RadixErr
impl Unpin for RadixErr
impl UnwindSafe for RadixErr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)