pub enum SheetAddressError {
ZeroIndex,
RangeOrder,
MismatchedSheets,
MissingSheetName,
UnboundedRange,
Coord(CoordError),
Parse(A1ParseError),
}Expand description
Errors that can occur while constructing sheet-scoped references.
Variants§
ZeroIndex
Encountered a 0 or underflowed 1-based index when converting to 0-based.
RangeOrder
Start/end coordinates were not ordered (start <= end).
MismatchedSheets
Attempted to combine references with different sheet locators.
MissingSheetName
Requested operation requires a sheet name but only an id/current was supplied.
UnboundedRange
Attempted to convert an unbounded range into a bounded representation.
Coord(CoordError)
Wrapped CoordError that originated from RelativeCoord.
Parse(A1ParseError)
Wrapped A1ParseError originating from A1 parsing.
Trait Implementations§
Source§impl Clone for SheetAddressError
impl Clone for SheetAddressError
Source§fn clone(&self) -> SheetAddressError
fn clone(&self) -> SheetAddressError
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 SheetAddressError
impl Debug for SheetAddressError
Source§impl Display for SheetAddressError
impl Display for SheetAddressError
Source§impl Error for SheetAddressError
impl Error for SheetAddressError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<A1ParseError> for SheetAddressError
impl From<A1ParseError> for SheetAddressError
Source§fn from(value: A1ParseError) -> Self
fn from(value: A1ParseError) -> Self
Converts to this type from the input type.
Source§impl From<CoordError> for SheetAddressError
impl From<CoordError> for SheetAddressError
Source§fn from(value: CoordError) -> Self
fn from(value: CoordError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SheetAddressError
impl PartialEq for SheetAddressError
impl Eq for SheetAddressError
impl StructuralPartialEq for SheetAddressError
Auto Trait Implementations§
impl Freeze for SheetAddressError
impl RefUnwindSafe for SheetAddressError
impl Send for SheetAddressError
impl Sync for SheetAddressError
impl Unpin for SheetAddressError
impl UnwindSafe for SheetAddressError
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