#[non_exhaustive]pub enum FatigueRangeError {
ZeroCycles,
BelowLowCycleBound {
cycles: u64,
bound: u64,
},
NonPositiveExponent,
}Expand description
Why the Basquin inverse (StructuralSolver::fatigue_strength_mpa) could
not answer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ZeroCycles
cycles == 0 has no stress on the S–N curve.
BelowLowCycleBound
Below the low-cycle bound (currently 1 000 cycles for every curve), outside the law’s range.
NonPositiveExponent
The curve’s exponent m is zero: (N_e/N)^(1/m) is undefined.
Trait Implementations§
Source§impl Clone for FatigueRangeError
impl Clone for FatigueRangeError
impl Copy for FatigueRangeError
Source§impl Debug for FatigueRangeError
impl Debug for FatigueRangeError
impl Eq for FatigueRangeError
Source§impl PartialEq for FatigueRangeError
impl PartialEq for FatigueRangeError
impl StructuralPartialEq for FatigueRangeError
Auto Trait Implementations§
impl Freeze for FatigueRangeError
impl RefUnwindSafe for FatigueRangeError
impl Send for FatigueRangeError
impl Sync for FatigueRangeError
impl Unpin for FatigueRangeError
impl UnsafeUnpin for FatigueRangeError
impl UnwindSafe for FatigueRangeError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more