Struct risc0_zkvm::Output
source · pub struct Output {
pub journal: MaybePruned<Vec<u8>>,
pub assumptions: MaybePruned<Assumptions>,
}
Expand description
Output field in the ReceiptClaim, committing to a claimed journal and assumptions list.
Fields§
§journal: MaybePruned<Vec<u8>>
The journal committed to by the guest execution.
assumptions: MaybePruned<Assumptions>
An ordered list of ReceiptClaim digests corresponding to the
calls to env::verify
and env::verify_integrity
.
Verifying the integrity of a crate::Receipt corresponding to a ReceiptClaim with a non-empty assumptions list does not guarantee unconditionally any of the claims over the guest execution (i.e. if the assumptions list is non-empty, then the journal digest cannot be trusted to correspond to a genuine execution). The claims can be checked by additional verifying a crate::Receipt for every digest in the assumptions list.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Digestible for Output
impl Digestible for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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