pub struct PreparedProof {
pub commit: Hash,
pub leaf: Hash,
pub path: Vec<Vec<u8>>,
pub range: Option<(u64, u64)>,
pub encoded_len: u64,
pub span: bool,
}Expand description
Selected proof. Preparation constructs no Merkle or Bao proofs.
Fields§
§commit: HashPublished-reachable commit or remix.
leaf: HashLeaf matched by the exact decoded path.
path: Vec<Vec<u8>>Path below the commit’s tree.
range: Option<(u64, u64)>Inclusive content range, or canonical Object selector.
encoded_len: u64Exact encoded GET length, checked before Admission.
span: boolCross-chunk range uses MKDS; all other selections use MKDP.
Trait Implementations§
Source§impl Clone for PreparedProof
impl Clone for PreparedProof
Auto Trait Implementations§
impl Freeze for PreparedProof
impl RefUnwindSafe for PreparedProof
impl Send for PreparedProof
impl Sync for PreparedProof
impl Unpin for PreparedProof
impl UnsafeUnpin for PreparedProof
impl UnwindSafe for PreparedProof
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