pub enum ExcelErrorKind {
Show 13 variants
Null,
Ref,
Name,
Value,
Div,
Na,
Num,
Error,
NImpl,
Spill,
Calc,
Circ,
Cancelled,
}Expand description
All recognised Excel error codes.
Note: names are CamelCase (idiomatic Rust) while Display
renders them exactly as Excel shows them (#DIV/0!, …).
Variants§
Implementations§
Source§impl ExcelErrorKind
impl ExcelErrorKind
pub fn try_parse(s: &str) -> Option<ExcelErrorKind>
pub fn parse(s: &str) -> ExcelErrorKind
Trait Implementations§
Source§impl Clone for ExcelErrorKind
impl Clone for ExcelErrorKind
Source§fn clone(&self) -> ExcelErrorKind
fn clone(&self) -> ExcelErrorKind
Returns a duplicate of the value. Read more
1.0.0 · 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 ExcelErrorKind
impl Debug for ExcelErrorKind
Source§impl<'de> Deserialize<'de> for ExcelErrorKind
impl<'de> Deserialize<'de> for ExcelErrorKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExcelErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExcelErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExcelErrorKind
impl Display for ExcelErrorKind
Source§impl From<ExcelErrorKind> for ExcelError
impl From<ExcelErrorKind> for ExcelError
Source§fn from(kind: ExcelErrorKind) -> ExcelError
fn from(kind: ExcelErrorKind) -> ExcelError
Converts to this type from the input type.
Source§impl Hash for ExcelErrorKind
impl Hash for ExcelErrorKind
Source§impl PartialEq<str> for ExcelErrorKind
impl PartialEq<str> for ExcelErrorKind
Source§impl PartialEq for ExcelErrorKind
impl PartialEq for ExcelErrorKind
Source§impl Serialize for ExcelErrorKind
impl Serialize for ExcelErrorKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ExcelErrorKind
impl Eq for ExcelErrorKind
impl StructuralPartialEq for ExcelErrorKind
Auto Trait Implementations§
impl Freeze for ExcelErrorKind
impl RefUnwindSafe for ExcelErrorKind
impl Send for ExcelErrorKind
impl Sync for ExcelErrorKind
impl Unpin for ExcelErrorKind
impl UnsafeUnpin for ExcelErrorKind
impl UnwindSafe for ExcelErrorKind
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§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.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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
Source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given
SeparatorPolicy. Read moreSource§fn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
Source§fn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
Source§fn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
Source§fn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more