pub enum AusfallarbeitError {
UnzulaessigerDivisor(&'static str),
VerlustfaktorAusserhalb(Decimal),
KeinVergleichszeitraum,
KeinVergleichstag,
BinUnterbesetzt(usize),
NegativerWert(&'static str),
}Expand description
Errors from the Ausfallarbeit computation.
Variants§
UnzulaessigerDivisor(&'static str)
A divisor (P_VZ,theo, G_VZ, ΣE_WEA, ΣP_inst) was zero or negative.
VerlustfaktorAusserhalb(Decimal)
The Verlustfaktor KF_V left its domain ]0;1[ (Kap. 3.2.3.2).
KeinVergleichszeitraum
No admissible Wind-KF Vergleichszeitraum exists on either side of the Maßnahme (Kap. 3.2.2.1).
KeinVergleichstag
No admissible Solar Vergleichstag exists in the Maßnahme’s month (Kap. 3.2.4.1).
BinUnterbesetzt(usize)
Too few Wertepaare for a valid Wind-Bin Leistungsfaktor (m ≥ 3).
NegativerWert(&'static str)
A required input was negative where the Festlegung admits none.
Trait Implementations§
Source§impl Clone for AusfallarbeitError
impl Clone for AusfallarbeitError
Source§fn clone(&self) -> AusfallarbeitError
fn clone(&self) -> AusfallarbeitError
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 AusfallarbeitError
impl Debug for AusfallarbeitError
Source§impl Display for AusfallarbeitError
impl Display for AusfallarbeitError
impl Eq for AusfallarbeitError
Source§impl Error for AusfallarbeitError
impl Error for AusfallarbeitError
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 AusfallarbeitError
impl PartialEq for AusfallarbeitError
impl StructuralPartialEq for AusfallarbeitError
Auto Trait Implementations§
impl Freeze for AusfallarbeitError
impl RefUnwindSafe for AusfallarbeitError
impl Send for AusfallarbeitError
impl Sync for AusfallarbeitError
impl Unpin for AusfallarbeitError
impl UnsafeUnpin for AusfallarbeitError
impl UnwindSafe for AusfallarbeitError
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