pub struct SendBlocksProofV1Builder { /* private fields */ }
Implementations§
Source§impl SendBlocksProofV1Builder
impl SendBlocksProofV1Builder
pub const FIELD_COUNT: usize = 6usize
pub fn last_header(self, v: VerifiableHeader) -> SendBlocksProofV1Builder
pub fn proof(self, v: HeaderDigestVec) -> SendBlocksProofV1Builder
pub fn headers(self, v: HeaderVec) -> SendBlocksProofV1Builder
pub fn missing_block_hashes(self, v: Byte32Vec) -> SendBlocksProofV1Builder
pub fn blocks_uncles_hash(self, v: Byte32Vec) -> SendBlocksProofV1Builder
pub fn blocks_extension(self, v: BytesOptVec) -> SendBlocksProofV1Builder
Trait Implementations§
Source§impl Builder for SendBlocksProofV1Builder
impl Builder for SendBlocksProofV1Builder
Source§impl Debug for SendBlocksProofV1Builder
impl Debug for SendBlocksProofV1Builder
Source§impl Default for SendBlocksProofV1Builder
impl Default for SendBlocksProofV1Builder
Source§fn default() -> SendBlocksProofV1Builder
fn default() -> SendBlocksProofV1Builder
Returns the “default value” for a type. Read more
Source§impl ProverMessageBuilder for SendBlocksProofV1Builder
impl ProverMessageBuilder for SendBlocksProofV1Builder
Source§type ProvedItems = (HeaderVec, Byte32Vec, BytesOptVec)
type ProvedItems = (HeaderVec, Byte32Vec, BytesOptVec)
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 SendBlocksProofV1Builder
impl RefUnwindSafe for SendBlocksProofV1Builder
impl Send for SendBlocksProofV1Builder
impl Sync for SendBlocksProofV1Builder
impl Unpin for SendBlocksProofV1Builder
impl UnwindSafe for SendBlocksProofV1Builder
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