pub struct HardForks {
pub ckb2021: CKB2021,
pub ckb2023: CKB2023,
}
Expand description
Hardfork-related configuration
Fields§
§ckb2021: CKB2021
ckb 2021 configuration
ckb2023: CKB2023
ckb 2023 configuration
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HardForks
impl RefUnwindSafe for HardForks
impl Send for HardForks
impl Sync for HardForks
impl Unpin for HardForks
impl UnwindSafe for HardForks
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