Struct ckb_verification::UnknownParentError
source · pub struct UnknownParentError {
pub parent_hash: Byte32,
}Expand description
Cannot access the parent block to the cannonical chain.
Fields§
§parent_hash: Byte32The hash of parent block.
Trait Implementations§
source§impl Clone for UnknownParentError
impl Clone for UnknownParentError
source§fn clone(&self) -> UnknownParentError
fn clone(&self) -> UnknownParentError
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 UnknownParentError
impl Debug for UnknownParentError
source§impl Display for UnknownParentError
impl Display for UnknownParentError
source§impl Error for UnknownParentError
impl Error for UnknownParentError
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()
source§impl From<UnknownParentError> for BlockError
impl From<UnknownParentError> for BlockError
source§fn from(error: UnknownParentError) -> Self
fn from(error: UnknownParentError) -> Self
Converts to this type from the input type.
source§impl From<UnknownParentError> for Error
impl From<UnknownParentError> for Error
source§fn from(error: UnknownParentError) -> Self
fn from(error: UnknownParentError) -> Self
Converts to this type from the input type.
source§impl PartialEq<UnknownParentError> for UnknownParentError
impl PartialEq<UnknownParentError> for UnknownParentError
source§fn eq(&self, other: &UnknownParentError) -> bool
fn eq(&self, other: &UnknownParentError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.