pub struct HeaderEvidence {
pub prefix: Vec<u8>,
pub header: Vec<u8>,
pub roots: Vec<[u8; 32]>,
pub signature: [u8; 64],
}Expand description
A write’s signed header and every part root, retained from receipt or a loaded snapshot (D9).
Fields§
§prefix: Vec<u8>The exact cleartext kind | version | prefix bytes.
header: Vec<u8>The sealed header chunk exactly as stored, with its length field.
roots: Vec<[u8; 32]>Every part’s root, in header order.
signature: [u8; 64]The header signature.
Trait Implementations§
Source§impl Clone for HeaderEvidence
impl Clone for HeaderEvidence
Source§fn clone(&self) -> HeaderEvidence
fn clone(&self) -> HeaderEvidence
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 moreSource§impl Debug for HeaderEvidence
impl Debug for HeaderEvidence
Source§impl PartialEq for HeaderEvidence
impl PartialEq for HeaderEvidence
impl Eq for HeaderEvidence
impl StructuralPartialEq for HeaderEvidence
Auto Trait Implementations§
impl Freeze for HeaderEvidence
impl RefUnwindSafe for HeaderEvidence
impl Send for HeaderEvidence
impl Sync for HeaderEvidence
impl Unpin for HeaderEvidence
impl UnsafeUnpin for HeaderEvidence
impl UnwindSafe for HeaderEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.