Enum bdk_chain::local_chain::ApplyHeaderError
source · pub enum ApplyHeaderError {
InconsistentBlocks,
CannotConnect(CannotConnectError),
}
Expand description
The error type for LocalChain::apply_header_connected_to
.
Variants§
InconsistentBlocks
Occurs when connected_to
block conflicts with either the current block or previous block.
CannotConnect(CannotConnectError)
Occurs when the update cannot connect with the original chain.
Trait Implementations§
source§impl Clone for ApplyHeaderError
impl Clone for ApplyHeaderError
source§fn clone(&self) -> ApplyHeaderError
fn clone(&self) -> ApplyHeaderError
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 ApplyHeaderError
impl Debug for ApplyHeaderError
source§impl Display for ApplyHeaderError
impl Display for ApplyHeaderError
source§impl Error for ApplyHeaderError
impl Error for ApplyHeaderError
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()