Enum cronchik::InvalidExpr
source · pub enum InvalidExpr {
InvalidWildCard,
InvalidStepRange,
InvalidStepValue,
InvalidEntryRange,
InvalidEntryValue,
InvalidRange,
InvalidRangeRev,
ParserOverflow,
}
Expand description
Describes potential error within expression
Variants§
InvalidWildCard
Wildcard is used with other values.
InvalidStepRange
Indicates invalid integer used as step value.
InvalidStepValue
Indicates that step is not integer.
InvalidEntryRange
Indicates that specified value is outside of allowed range.
InvalidEntryValue
Indicates that specified value is not of valid type.
InvalidRange
Indicates that specified range is not valid.
InvalidRangeRev
Indicates that specified range contains reversed values.
ParserOverflow
Indicates that too many values are parsed. Indicates Internal Error of library.
Trait Implementations§
source§impl Clone for InvalidExpr
impl Clone for InvalidExpr
source§fn clone(&self) -> InvalidExpr
fn clone(&self) -> InvalidExpr
Returns a copy 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 InvalidExpr
impl Debug for InvalidExpr
impl Copy for InvalidExpr
Auto Trait Implementations§
impl RefUnwindSafe for InvalidExpr
impl Send for InvalidExpr
impl Sync for InvalidExpr
impl Unpin for InvalidExpr
impl UnwindSafe for InvalidExpr
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