pub struct UviInterface {
pub node_id: String,
}Expand description
UVI universal VM interface.
Fields§
§node_id: StringImplementations§
Source§impl UviInterface
impl UviInterface
pub fn new(node_id: impl Into<String>) -> Self
Sourcepub fn execute(
&self,
circuit: &WasmCircuit,
chaos_seed: &[u8; 32],
) -> Result<WasmResult, PrivacyError>
pub fn execute( &self, circuit: &WasmCircuit, chaos_seed: &[u8; 32], ) -> Result<WasmResult, PrivacyError>
Execute a WASM privacy circuit in an AQVM enclave.
Validates circuit, injects chaos randomness, executes in isolated tenant, and returns PQC-attested output.
Auto Trait Implementations§
impl Freeze for UviInterface
impl RefUnwindSafe for UviInterface
impl Send for UviInterface
impl Sync for UviInterface
impl Unpin for UviInterface
impl UnsafeUnpin for UviInterface
impl UnwindSafe for UviInterface
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