pub enum TimePointError {
Alphabet(AlphabetError),
Series(SeriesError),
SystemMismatch {
expected: NonZeroU16,
found: NonZeroU16,
},
PointOutsideSystem {
point: u16,
modulus: NonZeroU16,
},
}Expand description
Failure while constructing or realizing exact time-point data.
Variants§
Alphabet(AlphabetError)
The canonical onset-class alphabet was invalid.
Series(SeriesError)
The caller-supplied onset-class order violated the system aggregate contract.
SystemMismatch
The caller tried to realize a row under another modulus.
Fields
§
expected: NonZeroU16Row modulus retained by the row alphabet.
§
found: NonZeroU16Realization modulus supplied by the caller.
PointOutsideSystem
One onset class lay outside the selected finite system.
Trait Implementations§
Source§impl Clone for TimePointError
impl Clone for TimePointError
Source§fn clone(&self) -> TimePointError
fn clone(&self) -> TimePointError
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 TimePointError
impl Debug for TimePointError
Source§impl Display for TimePointError
impl Display for TimePointError
impl Eq for TimePointError
Source§impl Error for TimePointError
impl Error for TimePointError
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<AlphabetError> for TimePointError
impl From<AlphabetError> for TimePointError
Source§fn from(source: AlphabetError) -> Self
fn from(source: AlphabetError) -> Self
Converts to this type from the input type.
Source§impl From<SeriesError> for TimePointError
impl From<SeriesError> for TimePointError
Source§fn from(source: SeriesError) -> Self
fn from(source: SeriesError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimePointError
impl PartialEq for TimePointError
impl StructuralPartialEq for TimePointError
Auto Trait Implementations§
impl Freeze for TimePointError
impl RefUnwindSafe for TimePointError
impl Send for TimePointError
impl Sync for TimePointError
impl Unpin for TimePointError
impl UnsafeUnpin for TimePointError
impl UnwindSafe for TimePointError
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