Enum jormungandr_lib::interfaces::block0_configuration::initial_config::FromConfigParamsError
source · pub enum FromConfigParamsError {
InitConfigParamMissing {
name: &'static str,
},
InitConfigParamDuplicate {
name: &'static str,
},
NumberOfSlotsPerEpoch(TryFromNumberOfSlotsPerEpochError),
SlotDuration(TryFromSlotDurationError),
ActiveSlotCoefficient(TryFromActiveSlotCoefficientError),
KesUpdateSpeed(TryFromKesUpdateSpeedError),
FeesGoTo(TryFromFeesGoToError),
}
Variants§
InitConfigParamMissing
InitConfigParamDuplicate
NumberOfSlotsPerEpoch(TryFromNumberOfSlotsPerEpochError)
SlotDuration(TryFromSlotDurationError)
ActiveSlotCoefficient(TryFromActiveSlotCoefficientError)
KesUpdateSpeed(TryFromKesUpdateSpeedError)
FeesGoTo(TryFromFeesGoToError)
Trait Implementations§
source§impl Debug for FromConfigParamsError
impl Debug for FromConfigParamsError
source§impl Display for FromConfigParamsError
impl Display for FromConfigParamsError
source§impl Error for FromConfigParamsError
impl Error for FromConfigParamsError
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<FromConfigParamsError> for Block0ConfigurationError
impl From<FromConfigParamsError> for Block0ConfigurationError
source§fn from(source: FromConfigParamsError) -> Self
fn from(source: FromConfigParamsError) -> Self
Converts to this type from the input type.
source§impl From<TryFromActiveSlotCoefficientError> for FromConfigParamsError
impl From<TryFromActiveSlotCoefficientError> for FromConfigParamsError
source§fn from(source: TryFromActiveSlotCoefficientError) -> Self
fn from(source: TryFromActiveSlotCoefficientError) -> Self
Converts to this type from the input type.
source§impl From<TryFromFeesGoToError> for FromConfigParamsError
impl From<TryFromFeesGoToError> for FromConfigParamsError
source§fn from(source: TryFromFeesGoToError) -> Self
fn from(source: TryFromFeesGoToError) -> Self
Converts to this type from the input type.
source§impl From<TryFromKesUpdateSpeedError> for FromConfigParamsError
impl From<TryFromKesUpdateSpeedError> for FromConfigParamsError
source§fn from(source: TryFromKesUpdateSpeedError) -> Self
fn from(source: TryFromKesUpdateSpeedError) -> Self
Converts to this type from the input type.
source§impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamsError
impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamsError
source§fn from(source: TryFromNumberOfSlotsPerEpochError) -> Self
fn from(source: TryFromNumberOfSlotsPerEpochError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSlotDurationError> for FromConfigParamsError
impl From<TryFromSlotDurationError> for FromConfigParamsError
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 FromConfigParamsError
impl Send for FromConfigParamsError
impl Sync for FromConfigParamsError
impl Unpin for FromConfigParamsError
impl UnwindSafe for FromConfigParamsError
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