pub enum DocumentErrorCode {
XlsxWorksheetNotFound = 4_001,
XlsxInvalidCellReference = 4_002,
XlsxInvalidFormula = 4_003,
XlsxInvalidStyle = 4_004,
DocxStyleNotFound = 5_001,
DocxInvalidTableStructure = 5_002,
DocxInvalidParagraph = 5_003,
DocxBookmarkNotFound = 5_004,
PptxInvalidPresentation = 6_001,
PptxInvalidSlide = 6_002,
PptxInvalidShape = 6_003,
PptxInvalidText = 6_004,
}Expand description
文档特定错误码(4000-6999)
Variants§
XlsxWorksheetNotFound = 4_001
Excel相关错误(4000-4999)
XlsxInvalidCellReference = 4_002
XlsxInvalidFormula = 4_003
XlsxInvalidStyle = 4_004
DocxStyleNotFound = 5_001
Word相关错误(5000-5999)
DocxInvalidTableStructure = 5_002
DocxInvalidParagraph = 5_003
DocxBookmarkNotFound = 5_004
PptxInvalidPresentation = 6_001
PowerPoint相关错误(6000-6999)
PptxInvalidSlide = 6_002
PptxInvalidShape = 6_003
PptxInvalidText = 6_004
Trait Implementations§
Source§impl Clone for DocumentErrorCode
impl Clone for DocumentErrorCode
Source§fn clone(&self) -> DocumentErrorCode
fn clone(&self) -> DocumentErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentErrorCode
impl Debug for DocumentErrorCode
impl Eq for DocumentErrorCode
Source§impl Hash for DocumentErrorCode
impl Hash for DocumentErrorCode
Source§impl PartialEq for DocumentErrorCode
impl PartialEq for DocumentErrorCode
Source§fn eq(&self, other: &DocumentErrorCode) -> bool
fn eq(&self, other: &DocumentErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentErrorCode
Auto Trait Implementations§
impl Freeze for DocumentErrorCode
impl RefUnwindSafe for DocumentErrorCode
impl Send for DocumentErrorCode
impl Sync for DocumentErrorCode
impl Unpin for DocumentErrorCode
impl UnsafeUnpin for DocumentErrorCode
impl UnwindSafe for DocumentErrorCode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.