pub enum ParameterValidationError {
ZeroScalingFactor,
ScalingFactorNotPowerOf10,
}
Expand description
Errors emitted during rewards parameter validation.
Variants§
Trait Implementations§
source§impl Debug for ParameterValidationError
impl Debug for ParameterValidationError
source§impl Display for ParameterValidationError
impl Display for ParameterValidationError
source§impl Error for ParameterValidationError
impl Error for ParameterValidationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for ParameterValidationError
impl RefUnwindSafe for ParameterValidationError
impl Send for ParameterValidationError
impl Sync for ParameterValidationError
impl Unpin for ParameterValidationError
impl UnwindSafe for ParameterValidationError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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