pub enum Unenumerable {
Interval,
UnboundedSetElement,
YearRangeOverflow,
}Expand description
Why Edtf::values cannot enumerate an expression (decisions D24–D25).
Variants§
Interval
Intervals denote a single continuous extent, not a collection of values (ISO 8601-2 Clause 10 defines no enumeration for them).
UnboundedSetElement
The set contains a ..date or date.. element, whose value set is
unbounded (§6.3 a–b give “indication”, not “expansion”).
YearRangeOverflow
A significant-digit sweep or range endpoint lies beyond the years
this library computes with — the same cases where bounds() reports
Bound::Unknown.
Trait Implementations§
Source§impl Clone for Unenumerable
impl Clone for Unenumerable
Source§fn clone(&self) -> Unenumerable
fn clone(&self) -> Unenumerable
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 moreimpl Copy for Unenumerable
Source§impl Debug for Unenumerable
impl Debug for Unenumerable
Source§impl Display for Unenumerable
impl Display for Unenumerable
impl Eq for Unenumerable
Source§impl Error for Unenumerable
impl Error for Unenumerable
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 PartialEq for Unenumerable
impl PartialEq for Unenumerable
impl StructuralPartialEq for Unenumerable
Auto Trait Implementations§
impl Freeze for Unenumerable
impl RefUnwindSafe for Unenumerable
impl Send for Unenumerable
impl Sync for Unenumerable
impl Unpin for Unenumerable
impl UnsafeUnpin for Unenumerable
impl UnwindSafe for Unenumerable
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