#[repr(i16)]
pub enum ConsensusBuriedDeployment {
DEPLOYMENT_HEIGHTINCB,
DEPLOYMENT_CLTV,
DEPLOYMENT_DERSIG,
DEPLOYMENT_CSV,
DEPLOYMENT_SEGWIT,
}
Expand description
| A buried deployment is one where the | height of the activation has been hardcoded | into the client implementation long | after the consensus change has activated. | See BIP 90. |
Variants§
DEPLOYMENT_HEIGHTINCB
| buried deployments get negative values | to avoid overlap with ConsensusDeploymentPos |
DEPLOYMENT_CLTV
DEPLOYMENT_DERSIG
DEPLOYMENT_CSV
DEPLOYMENT_SEGWIT
Trait Implementations§
source§impl Clone for ConsensusBuriedDeployment
impl Clone for ConsensusBuriedDeployment
source§fn clone(&self) -> ConsensusBuriedDeployment
fn clone(&self) -> ConsensusBuriedDeployment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Ord for ConsensusBuriedDeployment
impl Ord for ConsensusBuriedDeployment
source§fn cmp(&self, other: &ConsensusBuriedDeployment) -> Ordering
fn cmp(&self, other: &ConsensusBuriedDeployment) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ConsensusBuriedDeployment> for ConsensusBuriedDeployment
impl PartialEq<ConsensusBuriedDeployment> for ConsensusBuriedDeployment
source§fn eq(&self, other: &ConsensusBuriedDeployment) -> bool
fn eq(&self, other: &ConsensusBuriedDeployment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ConsensusBuriedDeployment> for ConsensusBuriedDeployment
impl PartialOrd<ConsensusBuriedDeployment> for ConsensusBuriedDeployment
source§fn partial_cmp(&self, other: &ConsensusBuriedDeployment) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsensusBuriedDeployment) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ConsensusBuriedDeployment
impl StructuralEq for ConsensusBuriedDeployment
impl StructuralPartialEq for ConsensusBuriedDeployment
Auto Trait Implementations§
impl RefUnwindSafe for ConsensusBuriedDeployment
impl Send for ConsensusBuriedDeployment
impl Sync for ConsensusBuriedDeployment
impl Unpin for ConsensusBuriedDeployment
impl UnwindSafe for ConsensusBuriedDeployment
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more