Enum ironworks::ErrorValue
source · [−]#[non_exhaustive]
pub enum ErrorValue {
Path(String),
Sheet(String),
Row {
row: u32,
subrow: u16,
sheet: Option<String>,
},
File(Vec<u8>),
Other(String),
}
Expand description
A value associated with an error that occured.
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.
Path(String)
A path to a file.
Sheet(String)
Available on crate feature
excel
only.An Excel sheet.
Row
Available on crate feature
exd
only.An Excel row.
File(Vec<u8>)
Available on crate feature
sqpack
only.A SqPack file.
Other(String)
A value not represented by other variants.
ErrorValue
s of the Other
type should only be match
ed on with a wildcard
(_
) pattern. Values represented by Other
may be promoted to a new variant
in future versions.
Trait Implementations
sourceimpl Debug for ErrorValue
impl Debug for ErrorValue
Auto Trait Implementations
impl RefUnwindSafe for ErrorValue
impl Send for ErrorValue
impl Sync for ErrorValue
impl Unpin for ErrorValue
impl UnwindSafe for ErrorValue
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