#[repr(C, align(4))]pub struct OutputKey {
pub output_commit: Commit,
pub output_len: u64,
}Expand description
Key for looking up raw output.
Trusted only when returned by deferred_compute. Manually constructed keys are
not trusted deferral results: get_deferred_output authenticates output bytes
against the key, but only CALL (via deferred_compute) establishes that the
key came from a deferred computation.
Fields§
§output_commit: Commit§output_len: u64Implementations§
Trait Implementations§
impl Copy for OutputKey
impl Eq for OutputKey
impl StructuralPartialEq for OutputKey
Auto Trait Implementations§
impl Freeze for OutputKey
impl RefUnwindSafe for OutputKey
impl Send for OutputKey
impl Sync for OutputKey
impl Unpin for OutputKey
impl UnwindSafe for OutputKey
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