pub struct RustiaExecutionProfile { /* private fields */ }Expand description
Stable, typed description of the core profile and guest surface selected by a builder.
The descriptor deliberately covers the core Profile and guest-visible
GuestSurface together. Its canonical bytes are one component of an
embedder’s package or replay identity; settings, budgets, host ABI, and any
permitted services must be bound separately. Unlike a caller-maintained
label, the value can also be read back from the built Rustia VM.
Implementations§
Source§impl RustiaExecutionProfile
impl RustiaExecutionProfile
Sourcepub const DETERMINISTIC_STANDARD: Self
pub const DETERMINISTIC_STANDARD: Self
Ordinary sealed deterministic execution.
Sourcepub const DETERMINISTIC_HARDENED_LEAF: Self
pub const DETERMINISTIC_HARDENED_LEAF: Self
Stateless authoritative-leaf execution.
Sourcepub fn builder(self) -> RustiaBuilder
pub fn builder(self) -> RustiaBuilder
Constructs a builder whose core VM semantics exactly match this
descriptor. Further builder methods may add budgets or services; the
final descriptor remains readable through
RustiaBuilder::execution_profile.
Sourcepub const fn compatibility_id(self) -> u32
pub const fn compatibility_id(self) -> u32
Stable compact code for fixed-width host protocol fields.
Codes name the complete (Profile, GuestSurface) pair rather than
relying on Rust enum discriminants.
Sourcepub const fn identity_bytes(self) -> [u8; 12]
pub const fn identity_bytes(self) -> [u8; 12]
Canonical versioned bytes for package and replay identity components.
Each field is an explicitly assigned little-endian u32: encoding
version, core-profile tag, then guest-surface tag.
Trait Implementations§
Source§impl Clone for RustiaExecutionProfile
impl Clone for RustiaExecutionProfile
Source§fn clone(&self) -> RustiaExecutionProfile
fn clone(&self) -> RustiaExecutionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more