Enum ckb_jsonrpc_types::SoftFork
source · pub enum SoftFork {
Buried(Buried),
Rfc0043(Rfc0043),
}
Expand description
SoftFork information
Variants§
Buried(Buried)
buried - the activation epoch is hard-coded into the client implementation
Rfc0043(Rfc0043)
rfc0043 - the activation is controlled by rfc0043 signaling
Implementations§
source§impl SoftFork
impl SoftFork
sourcepub fn new_rfc0043(deployment: Deployment) -> SoftFork
pub fn new_rfc0043(deployment: Deployment) -> SoftFork
Construct new rfc0043
Trait Implementations§
source§impl<'de> Deserialize<'de> for SoftFork
impl<'de> Deserialize<'de> for SoftFork
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SoftFork
impl Send for SoftFork
impl Sync for SoftFork
impl Unpin for SoftFork
impl UnwindSafe for SoftFork
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