pub enum LocaleError {
InvalidLocaleString,
UnknownLocale,
UnsetCategory,
OSError,
Unsupported,
}Expand description
Common error type for functions in this crate.
Variants§
InvalidLocaleString
The provided locale string was badly formatted
UnknownLocale
The provided locale was unknown
UnsetCategory
Locale category not set/or supported
OSError
Operating system could not set the specified locale
Unsupported
The operation you tried to perform was not supported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocaleError
impl RefUnwindSafe for LocaleError
impl Send for LocaleError
impl Sync for LocaleError
impl Unpin for LocaleError
impl UnwindSafe for LocaleError
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