#[non_exhaustive]pub enum OpenErrorKind {
NotFound,
PermissionDenied,
NotXlsx,
Corrupt,
Locked,
Other,
}Expand description
Why a workbook could not be opened.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotFound
PermissionDenied
NotXlsx
The bytes are not a valid ZIP / xlsx container.
Corrupt
Structurally valid ZIP, but xlsx internals are corrupt.
Locked
File is locked or busy (OS-level).
Other
Trait Implementations§
Source§impl Debug for OpenErrorKind
impl Debug for OpenErrorKind
Auto Trait Implementations§
impl Freeze for OpenErrorKind
impl RefUnwindSafe for OpenErrorKind
impl Send for OpenErrorKind
impl Sync for OpenErrorKind
impl Unpin for OpenErrorKind
impl UnsafeUnpin for OpenErrorKind
impl UnwindSafe for OpenErrorKind
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