Home
runx-runtime

runx_runtime::receipts::seal

Structs §

RuntimeReceiptSignaturePolicy §

pub struct runx_runtime::receipts::seal::RuntimeReceiptSignaturePolicy { /* ... */ }

Implementations §

impl RuntimeReceiptSignaturePolicy

local_development

fn local_development() -> Self
#[must_use]

production

fn production(verifier: &'a dyn SignatureVerifier) -> Self
#[must_use]

production_signing

fn production_signing( signer: &'a dyn RuntimeReceiptSigner, verifier: &'a dyn SignatureVerifier ) -> Self
#[must_use]

production_signing_without_verifier

fn production_signing_without_verifier(signer: &'a dyn RuntimeReceiptSigner) -> Self
#[must_use]

production_without_verifier

fn production_without_verifier() -> Self
#[must_use]

allows_local_pseudo_signatures

fn allows_local_pseudo_signatures(self: &Self) -> bool
#[must_use]

can_report_production_verified

fn can_report_production_verified(self: &Self) -> bool
#[must_use]

Trait Implementations §

impl Borrow for RuntimeReceiptSignaturePolicy

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for RuntimeReceiptSignaturePolicy

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for RuntimeReceiptSignaturePolicy

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for RuntimeReceiptSignaturePolicy

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for RuntimeReceiptSignaturePolicy

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for RuntimeReceiptSignaturePolicy

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for RuntimeReceiptSignaturePolicy

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for RuntimeReceiptSignaturePolicy

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for RuntimeReceiptSignaturePolicy

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for RuntimeReceiptSignaturePolicy

Output

impl Clone for RuntimeReceiptSignaturePolicy

clone

fn clone(self: &Self) -> RuntimeReceiptSignaturePolicy<'a>

impl Debug for RuntimeReceiptSignaturePolicy

fmt

fn fmt(self: &Self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result

impl Send for RuntimeReceiptSignaturePolicy

impl Sync for RuntimeReceiptSignaturePolicy

impl Freeze for RuntimeReceiptSignaturePolicy

impl UnsafeUnpin for RuntimeReceiptSignaturePolicy

impl Unpin for RuntimeReceiptSignaturePolicy

impl UnwindSafe for RuntimeReceiptSignaturePolicy

impl RefUnwindSafe for RuntimeReceiptSignaturePolicy

impl Copy for RuntimeReceiptSignaturePolicy

Functions §

step_receipt §

fn step_receipt( graph_name: &str, step_id: &str, attempt: u32, output: &crate::adapter::SkillOutput, created_at: &str ) -> Result<runx_contracts::Receipt, crate::RuntimeError>

step_receipt_with_signature_policy §

fn step_receipt_with_signature_policy( graph_name: &str, step_id: &str, attempt: u32, output: &crate::adapter::SkillOutput, created_at: &str, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<runx_contracts::Receipt, crate::RuntimeError>

graph_receipt §

fn graph_receipt( graph_name: &str, steps: &mut [crate::StepRun], sync_points: Vec<runx_contracts::FanoutReceiptSyncPoint>, created_at: &str ) -> Result<runx_contracts::Receipt, crate::RuntimeError>

graph_receipt_with_signature_policy §

fn graph_receipt_with_signature_policy( graph_name: &str, steps: &mut [crate::StepRun], sync_points: Vec<runx_contracts::FanoutReceiptSyncPoint>, created_at: &str, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<runx_contracts::Receipt, crate::RuntimeError>