pub struct SendBlocksProofBuilder { /* private fields */ }
Implementations§
Source§impl SendBlocksProofBuilder
impl SendBlocksProofBuilder
pub const FIELD_COUNT: usize = 4usize
pub fn last_header(self, v: VerifiableHeader) -> SendBlocksProofBuilder
pub fn proof(self, v: HeaderDigestVec) -> SendBlocksProofBuilder
pub fn headers(self, v: HeaderVec) -> SendBlocksProofBuilder
pub fn missing_block_hashes(self, v: Byte32Vec) -> SendBlocksProofBuilder
Trait Implementations§
Source§impl Builder for SendBlocksProofBuilder
impl Builder for SendBlocksProofBuilder
Source§impl Debug for SendBlocksProofBuilder
impl Debug for SendBlocksProofBuilder
Source§impl Default for SendBlocksProofBuilder
impl Default for SendBlocksProofBuilder
Source§fn default() -> SendBlocksProofBuilder
fn default() -> SendBlocksProofBuilder
Returns the “default value” for a type. Read more
Source§impl ProverMessageBuilder for SendBlocksProofBuilder
impl ProverMessageBuilder for SendBlocksProofBuilder
Source§type ProvedItems = HeaderVec
type ProvedItems = HeaderVec
The type of the proved items.
Source§type MissingItems = Byte32Vec
type MissingItems = Byte32Vec
The type of the missing items.
Source§fn set_last_header(self, last_header: VerifiableHeader) -> Self
fn set_last_header(self, last_header: VerifiableHeader) -> Self
Set the verifiable header which includes the chain root.
Source§fn set_proof(self, proof: HeaderDigestVec) -> Self
fn set_proof(self, proof: HeaderDigestVec) -> Self
Set the proof for all items which require verifying.
Source§fn set_proved_items(self, items: Self::ProvedItems) -> Self
fn set_proved_items(self, items: Self::ProvedItems) -> Self
Set the proved items.
Source§fn set_missing_items(self, items: Self::MissingItems) -> Self
fn set_missing_items(self, items: Self::MissingItems) -> Self
Set the missing items.
Auto Trait Implementations§
impl !Freeze for SendBlocksProofBuilder
impl RefUnwindSafe for SendBlocksProofBuilder
impl Send for SendBlocksProofBuilder
impl Sync for SendBlocksProofBuilder
impl Unpin for SendBlocksProofBuilder
impl UnwindSafe for SendBlocksProofBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more