Trait phron_finality::sync::Justification
source · pub trait Justification: Clone + Send + Sync + Debug + 'static {
type Header: Header;
type Unverified: UnverifiedJustification<UnverifiedHeader = <Self::Header as Header>::Unverified>;
// Required methods
fn header(&self) -> &Self::Header;
fn into_unverified(self) -> Self::Unverified;
}
Expand description
The verified justification of a block, including a header.
Required Associated Types§
type Header: Header
type Unverified: UnverifiedJustification<UnverifiedHeader = <Self::Header as Header>::Unverified>
Required Methods§
sourcefn into_unverified(self) -> Self::Unverified
fn into_unverified(self) -> Self::Unverified
Return an unverified version of this, for sending over the network.
Object Safety§
This trait is not object safe.