pub enum IcalRecurRuleError {
Freq,
FreqMissing,
Weekday,
Skip,
DateTime,
Count(ParseIntError),
Interval(ParseIntError),
IntervalZero,
Ordinal(ParseIntError),
Number(ParseIntError),
Range,
}Expand description
Everything that can go wrong decoding a rule.
Variants§
Freq
FREQ names no frequency this module knows.
FreqMissing
The rule carries no FREQ, which RFC 5545 requires.
Weekday
A weekday is not one of the seven two-letter codes.
Skip
SKIP names no RFC 7529 resolution.
DateTime
UNTIL is not a DATE or DATE-TIME, or names no real instant.
Count(ParseIntError)
COUNT is not a number.
Interval(ParseIntError)
INTERVAL is not a number.
IntervalZero
INTERVAL is zero, which would never advance.
Ordinal(ParseIntError)
A BYDAY ordinal is not a number.
Number(ParseIntError)
A BY part holds something that is not a number.
Range
A BY part holds a number outside the range RFC 5545 allows.
Trait Implementations§
Source§impl Clone for IcalRecurRuleError
impl Clone for IcalRecurRuleError
Source§fn clone(&self) -> IcalRecurRuleError
fn clone(&self) -> IcalRecurRuleError
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 IcalRecurRuleError
impl Debug for IcalRecurRuleError
Source§impl Display for IcalRecurRuleError
impl Display for IcalRecurRuleError
impl Eq for IcalRecurRuleError
Source§impl PartialEq for IcalRecurRuleError
impl PartialEq for IcalRecurRuleError
impl StructuralPartialEq for IcalRecurRuleError
Auto Trait Implementations§
impl Freeze for IcalRecurRuleError
impl RefUnwindSafe for IcalRecurRuleError
impl Send for IcalRecurRuleError
impl Sync for IcalRecurRuleError
impl Unpin for IcalRecurRuleError
impl UnsafeUnpin for IcalRecurRuleError
impl UnwindSafe for IcalRecurRuleError
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