pub struct TypeBridgeRuntime { /* private fields */ }Expand description
Source-free runtime installed only from a verified compiled bundle.
Implementations§
Source§impl TypeBridgeRuntime
impl TypeBridgeRuntime
Sourcepub fn from_bundle_bytes(
bytes: &[u8],
context: &BundleVerificationContext,
) -> Result<Self, SchemaBundleError>
pub fn from_bundle_bytes( bytes: &[u8], context: &BundleVerificationContext, ) -> Result<Self, SchemaBundleError>
Decode and independently verify canonical bundle bytes without source access.
Sourcepub const fn bundle_fingerprint(&self) -> &Fingerprint
pub const fn bundle_fingerprint(&self) -> &Fingerprint
Return the verified bundle fingerprint.
Sourcepub const fn declared_schema(&self) -> &DeclaredSchema
pub const fn declared_schema(&self) -> &DeclaredSchema
Return constructor-validated compiled declarations.
Sourcepub const fn resolved_schema(&self) -> &ResolvedSchema
pub const fn resolved_schema(&self) -> &ResolvedSchema
Return independently resolved compiled semantics.
Sourcepub const fn semantic_profile(&self) -> &SemanticProfileBinding
pub const fn semantic_profile(&self) -> &SemanticProfileBinding
Return the verified semantic-profile binding.
Sourcepub const fn managed_scope(&self) -> &ManagedScopeBinding
pub const fn managed_scope(&self) -> &ManagedScopeBinding
Return the verified durable managed-scope binding.
Sourcepub const fn managed_state(&self) -> &ManagedSchemaState
pub const fn managed_state(&self) -> &ManagedSchemaState
Return the recomputed managed state.
Sourcepub const fn required_capabilities(&self) -> &CapabilitySet
pub const fn required_capabilities(&self) -> &CapabilitySet
Return exact runtime capability requirements.
Sourcepub const fn required_extensions(&self) -> &BTreeSet<ExtensionRequirement>
pub const fn required_extensions(&self) -> &BTreeSet<ExtensionRequirement>
Return exact runtime extension requirements.
Sourcepub fn projection(&self, target: BindingTarget) -> Option<&RuntimeProjection>
pub fn projection(&self, target: BindingTarget) -> Option<&RuntimeProjection>
Look up one verified target projection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeBridgeRuntime
impl RefUnwindSafe for TypeBridgeRuntime
impl Send for TypeBridgeRuntime
impl Sync for TypeBridgeRuntime
impl Unpin for TypeBridgeRuntime
impl UnsafeUnpin for TypeBridgeRuntime
impl UnwindSafe for TypeBridgeRuntime
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more