pub enum FromConfigParamError {
NumberOfSlotsPerEpoch(TryFromNumberOfSlotsPerEpochError),
SlotDuration(TryFromSlotDurationError),
FeesGoTo(TryFromFeesGoToError),
ActiveSlotCoefficient(TryFromActiveSlotCoefficientError),
KesUpdateSpeed(TryFromKesUpdateSpeedError),
}
Variants§
NumberOfSlotsPerEpoch(TryFromNumberOfSlotsPerEpochError)
SlotDuration(TryFromSlotDurationError)
FeesGoTo(TryFromFeesGoToError)
ActiveSlotCoefficient(TryFromActiveSlotCoefficientError)
KesUpdateSpeed(TryFromKesUpdateSpeedError)
Trait Implementations§
source§impl Debug for FromConfigParamError
impl Debug for FromConfigParamError
source§impl Display for FromConfigParamError
impl Display for FromConfigParamError
source§impl Error for FromConfigParamError
impl Error for FromConfigParamError
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()
source§impl From<TryFromActiveSlotCoefficientError> for FromConfigParamError
impl From<TryFromActiveSlotCoefficientError> for FromConfigParamError
source§fn from(source: TryFromActiveSlotCoefficientError) -> Self
fn from(source: TryFromActiveSlotCoefficientError) -> Self
Converts to this type from the input type.
source§impl From<TryFromFeesGoToError> for FromConfigParamError
impl From<TryFromFeesGoToError> for FromConfigParamError
source§fn from(source: TryFromFeesGoToError) -> Self
fn from(source: TryFromFeesGoToError) -> Self
Converts to this type from the input type.
source§impl From<TryFromKesUpdateSpeedError> for FromConfigParamError
impl From<TryFromKesUpdateSpeedError> for FromConfigParamError
source§fn from(source: TryFromKesUpdateSpeedError) -> Self
fn from(source: TryFromKesUpdateSpeedError) -> Self
Converts to this type from the input type.
source§impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamError
impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamError
source§fn from(source: TryFromNumberOfSlotsPerEpochError) -> Self
fn from(source: TryFromNumberOfSlotsPerEpochError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSlotDurationError> for FromConfigParamError
impl From<TryFromSlotDurationError> for FromConfigParamError
source§fn from(source: TryFromSlotDurationError) -> Self
fn from(source: TryFromSlotDurationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FromConfigParamError
impl Send for FromConfigParamError
impl Sync for FromConfigParamError
impl Unpin for FromConfigParamError
impl UnwindSafe for FromConfigParamError
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