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