pub struct SendBlocksProofV1Builder { /* private fields */ }Implementations§
Source§impl SendBlocksProofV1Builder
impl SendBlocksProofV1Builder
pub const FIELD_COUNT: usize = 6usize
pub fn last_header<T>(self, v: T) -> SendBlocksProofV1Builderwhere
T: Into<VerifiableHeader>,
pub fn proof<T>(self, v: T) -> SendBlocksProofV1Builderwhere
T: Into<HeaderDigestVec>,
pub fn headers<T>(self, v: T) -> SendBlocksProofV1Builder
pub fn missing_block_hashes<T>(self, v: T) -> SendBlocksProofV1Builder
pub fn blocks_uncles_hash<T>(self, v: T) -> SendBlocksProofV1Builder
pub fn blocks_extension<T>(self, v: T) -> SendBlocksProofV1Builderwhere
T: Into<BytesOptVec>,
Trait Implementations§
Source§impl Builder for SendBlocksProofV1Builder
impl Builder for SendBlocksProofV1Builder
Source§impl Clone for SendBlocksProofV1Builder
impl Clone for SendBlocksProofV1Builder
Source§fn clone(&self) -> SendBlocksProofV1Builder
fn clone(&self) -> SendBlocksProofV1Builder
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)