Enum gettextrs::TextDomainError [−][src]
pub enum TextDomainError { InvalidLocale(String), TranslationNotFound(String), TextDomainCallFailed(Error), BindTextDomainCallFailed(Error), BindTextDomainCodesetCallFailed(Error), }
Errors that might come up after running the builder.
Variants
InvalidLocale(String)
The locale is malformed.
TranslationNotFound(String)
The translation for the requested language could not be found or the search path is empty.
TextDomainCallFailed(Error)
The call to textdomain()
failed.
BindTextDomainCallFailed(Error)
The call to bindtextdomain()
failed.
BindTextDomainCodesetCallFailed(Error)
The call to bind_textdomain_codeset()
failed.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TextDomainError
impl !RefUnwindSafe for TextDomainError
impl Send for TextDomainError
impl Send for TextDomainError
impl Sync for TextDomainError
impl Sync for TextDomainError
impl Unpin for TextDomainError
impl Unpin for TextDomainError
impl !UnwindSafe for TextDomainError
impl !UnwindSafe for TextDomainError