pub enum CodePageLoadError {
Dos33Required,
CanNotAlloc {
err_code: u16,
},
CanNotGetSelectedCodePage {
err_code: u16,
},
UnsupportedCodePage {
code_page: u16,
},
CanNotOpenCodePageFile {
code_page: u16,
err_code: u16,
},
CanNotReadCodePageFile {
code_page: u16,
err_code: u16,
},
InvalidCodePageFile {
code_page: u16,
},
}
Variants§
Dos33Required
CanNotAlloc
CanNotGetSelectedCodePage
UnsupportedCodePage
CanNotOpenCodePageFile
CanNotReadCodePageFile
InvalidCodePageFile
Implementations§
Trait Implementations§
Source§impl Debug for CodePageLoadError
impl Debug for CodePageLoadError
Auto Trait Implementations§
impl Freeze for CodePageLoadError
impl RefUnwindSafe for CodePageLoadError
impl Send for CodePageLoadError
impl Sync for CodePageLoadError
impl Unpin for CodePageLoadError
impl UnwindSafe for CodePageLoadError
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more