pub struct SendLastStateProofBuilder { /* private fields */ }
Implementations§
Source§impl SendLastStateProofBuilder
impl SendLastStateProofBuilder
pub const FIELD_COUNT: usize = 3usize
pub fn last_header(self, v: VerifiableHeader) -> SendLastStateProofBuilder
pub fn proof(self, v: HeaderDigestVec) -> SendLastStateProofBuilder
pub fn headers(self, v: VerifiableHeaderVec) -> SendLastStateProofBuilder
Trait Implementations§
Source§impl Builder for SendLastStateProofBuilder
impl Builder for SendLastStateProofBuilder
Source§impl Debug for SendLastStateProofBuilder
impl Debug for SendLastStateProofBuilder
Source§impl Default for SendLastStateProofBuilder
impl Default for SendLastStateProofBuilder
Source§fn default() -> SendLastStateProofBuilder
fn default() -> SendLastStateProofBuilder
Returns the “default value” for a type. Read more
Source§impl ProverMessageBuilder for SendLastStateProofBuilder
impl ProverMessageBuilder for SendLastStateProofBuilder
Source§type ProvedItems = VerifiableHeaderVec
type ProvedItems = VerifiableHeaderVec
The type of the proved items.
Source§type MissingItems = ()
type MissingItems = ()
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, _: Self::MissingItems) -> Self
fn set_missing_items(self, _: Self::MissingItems) -> Self
Set the missing items.
Auto Trait Implementations§
impl !Freeze for SendLastStateProofBuilder
impl RefUnwindSafe for SendLastStateProofBuilder
impl Send for SendLastStateProofBuilder
impl Sync for SendLastStateProofBuilder
impl Unpin for SendLastStateProofBuilder
impl UnwindSafe for SendLastStateProofBuilder
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