#[repr(C)]pub struct PreparedCallHandle {
pub opcode: VibeOpCode,
pub registry_generation: RegistryGeneration,
pub reserved: u32,
pub provider_iri_hash: u64,
pub func_iri_hash: u64,
pub contract_digest: [u8; 32],
}Expand description
Prepared call token produced during the cold Prepare stage and consumed in $O(1)$
during the hot Admit -> Execute stages.
Fields§
§opcode: VibeOpCodePacked O(1) dispatch slot ([ns_slot: u32][sub_id: u16][func_id: u16]).
registry_generation: RegistryGenerationRegistry generation at preparation time; must equal current registry generation on dispatch.
reserved: u32Reserved alignment padding.
provider_iri_hash: u64Canonical q_hash of the provider namespace IRI.
func_iri_hash: u64Canonical q_hash of the function IRI.
contract_digest: [u8; 32]Full 32-byte SHA-256 ontological contract digest bound at preparation time.
Trait Implementations§
Source§impl Clone for PreparedCallHandle
impl Clone for PreparedCallHandle
impl Copy for PreparedCallHandle
Source§impl Debug for PreparedCallHandle
impl Debug for PreparedCallHandle
impl Eq for PreparedCallHandle
Source§impl PartialEq for PreparedCallHandle
impl PartialEq for PreparedCallHandle
impl StructuralPartialEq for PreparedCallHandle
Auto Trait Implementations§
impl Freeze for PreparedCallHandle
impl RefUnwindSafe for PreparedCallHandle
impl Send for PreparedCallHandle
impl Sync for PreparedCallHandle
impl Unpin for PreparedCallHandle
impl UnsafeUnpin for PreparedCallHandle
impl UnwindSafe for PreparedCallHandle
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