pub enum ForecastValueError {
EmptyForecastId,
EmptyForecastPeriod,
}Expand description
Errors returned by forecast constructors.
Variants§
EmptyForecastId
Forecast identifiers cannot be empty.
EmptyForecastPeriod
Forecast periods cannot be empty.
Trait Implementations§
Source§impl Clone for ForecastValueError
impl Clone for ForecastValueError
Source§fn clone(&self) -> ForecastValueError
fn clone(&self) -> ForecastValueError
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 ForecastValueError
impl Debug for ForecastValueError
Source§impl Display for ForecastValueError
impl Display for ForecastValueError
Source§impl Error for ForecastValueError
impl Error for ForecastValueError
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 ForecastValueError
impl PartialEq for ForecastValueError
impl Copy for ForecastValueError
impl Eq for ForecastValueError
impl StructuralPartialEq for ForecastValueError
Auto Trait Implementations§
impl Freeze for ForecastValueError
impl RefUnwindSafe for ForecastValueError
impl Send for ForecastValueError
impl Sync for ForecastValueError
impl Unpin for ForecastValueError
impl UnsafeUnpin for ForecastValueError
impl UnwindSafe for ForecastValueError
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