Trait finality_relay::SourceHeader
source · pub trait SourceHeader<Hash, Number, Reader>: Clone + Debug + PartialEq + Send + Sync {
// Required methods
fn hash(&self) -> Hash;
fn number(&self) -> Number;
fn is_mandatory(&self) -> bool;
}
Expand description
Header that we’re receiving from source node.
Required Methods§
sourcefn is_mandatory(&self) -> bool
fn is_mandatory(&self) -> bool
Returns true if this header needs to be submitted to target node.
Object Safety§
This trait is not object safe.