Enum docx_rs::ReaderError
source · [−]pub enum ReaderError {
ZipError(ZipError),
NumError(ParseIntError),
FloatError(ParseFloatError),
TypeError(TypeError),
XMLReadError,
DocumentNotFoundError,
DocumentRelsNotFoundError,
DocumentStylesNotFoundError,
DocumentNumberingsNotFoundError,
Unknown,
}
Variants
ZipError(ZipError)
NumError(ParseIntError)
FloatError(ParseFloatError)
TypeError(TypeError)
XMLReadError
DocumentNotFoundError
DocumentRelsNotFoundError
DocumentStylesNotFoundError
DocumentNumberingsNotFoundError
Unknown
Trait Implementations
sourceimpl Debug for ReaderError
impl Debug for ReaderError
sourceimpl Display for ReaderError
impl Display for ReaderError
sourceimpl Error for ReaderError
impl Error for ReaderError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<ParseFloatError> for ReaderError
impl From<ParseFloatError> for ReaderError
sourcefn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIntError> for ReaderError
impl From<ParseIntError> for ReaderError
sourcefn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl From<TypeError> for ReaderError
impl From<TypeError> for ReaderError
Auto Trait Implementations
impl !RefUnwindSafe for ReaderError
impl Send for ReaderError
impl Sync for ReaderError
impl Unpin for ReaderError
impl !UnwindSafe for ReaderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more