pub enum ContentEvidence<'a> {
Bytes(&'a [u8]),
ContentRef(&'a ContentRef),
}Expand description
Available proof that a payload matches a committed content reference.
Variants§
Bytes(&'a [u8])
Bytes that can be hashed with the committed reference’s algorithm.
ContentRef(&'a ContentRef)
A reference carrying checksum evidence about its payload.
Trait Implementations§
Source§impl<'a> Clone for ContentEvidence<'a>
impl<'a> Clone for ContentEvidence<'a>
Source§fn clone(&self) -> ContentEvidence<'a>
fn clone(&self) -> ContentEvidence<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ContentEvidence<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContentEvidence<'a>
impl<'a> RefUnwindSafe for ContentEvidence<'a>
impl<'a> Send for ContentEvidence<'a>
impl<'a> Sync for ContentEvidence<'a>
impl<'a> Unpin for ContentEvidence<'a>
impl<'a> UnsafeUnpin for ContentEvidence<'a>
impl<'a> UnwindSafe for ContentEvidence<'a>
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