pub struct ProofChunk {
pub start_id: ProofNodeId,
pub nodes: Vec<ProofNode>,
pub index: usize,
pub total_chunks: usize,
}Expand description
Chunk of proof nodes for streaming.
Fields§
§start_id: ProofNodeIdStarting node ID in this chunk
nodes: Vec<ProofNode>Nodes in this chunk
index: usizeChunk index
total_chunks: usizeTotal number of chunks
Implementations§
Source§impl ProofChunk
impl ProofChunk
Trait Implementations§
Source§impl Clone for ProofChunk
impl Clone for ProofChunk
Source§fn clone(&self) -> ProofChunk
fn clone(&self) -> ProofChunk
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProofChunk
impl RefUnwindSafe for ProofChunk
impl Send for ProofChunk
impl Sync for ProofChunk
impl Unpin for ProofChunk
impl UnsafeUnpin for ProofChunk
impl UnwindSafe for ProofChunk
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