Struct bdk_chain::local_chain::AlterCheckPointError
source · pub struct AlterCheckPointError {
pub height: u32,
pub original_hash: BlockHash,
pub update_hash: Option<BlockHash>,
}
Expand description
Represents a failure when trying to insert/remove a checkpoint to/from LocalChain
.
Fields§
§height: u32
The checkpoint’s height.
original_hash: BlockHash
The original checkpoint’s block hash which cannot be replaced/removed.
update_hash: Option<BlockHash>
The attempted update to the original_block
hash.
Trait Implementations§
source§impl Clone for AlterCheckPointError
impl Clone for AlterCheckPointError
source§fn clone(&self) -> AlterCheckPointError
fn clone(&self) -> AlterCheckPointError
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 Debug for AlterCheckPointError
impl Debug for AlterCheckPointError
source§impl Display for AlterCheckPointError
impl Display for AlterCheckPointError
source§impl Error for AlterCheckPointError
impl Error for AlterCheckPointError
1.30.0 · 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()