pub struct Inclusion {
pub index: u64,
pub tree_size: u64,
pub path: Vec<[u8; 32]>,
}Expand description
An inclusion path for one entry at one tree size, as rfc9162 checks
it: the sibling hashes from the leaf to the root.
Fields§
§index: u64The entry’s log index.
tree_size: u64The tree size the path proves against.
path: Vec<[u8; 32]>Sibling hashes, leaf to root.
Trait Implementations§
impl Eq for Inclusion
impl StructuralPartialEq for Inclusion
Auto Trait Implementations§
impl Freeze for Inclusion
impl RefUnwindSafe for Inclusion
impl Send for Inclusion
impl Sync for Inclusion
impl Unpin for Inclusion
impl UnsafeUnpin for Inclusion
impl UnwindSafe for Inclusion
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