Struct CompiledRule
pub struct CompiledRule {
pub rule_id: String,
pub version: u64,
pub ptx: Vec<u8>,
pub compute_cap: String,
pub depends_on: Vec<String>,
pub signature: Option<Vec<u8>>,
pub actor_config: ActorConfig,
pub metadata: RuleMetadata,
}Expand description
A compiled rule artifact ready for GPU hot-swap.
RingKernel does not inspect ptx beyond validating compute capability,
dependencies and (optionally) signature. The caller owns semantic
correctness of the compilation.
Fields§
§rule_id: StringCaller-scoped rule set identifier (e.g. "gaap-consolidation").
version: u64Monotonically increasing version; later versions must be strictly greater than the currently active version.
ptx: Vec<u8>Compiled PTX bytes for the actor kernel.
compute_cap: StringRequired compute capability, e.g. "sm_90" for H100.
depends_on: Vec<String>Other rule_ids that must already be registered before this rule
can be installed. Used for inference-rule dependency graphs.
signature: Option<Vec<u8>>Optional integrity signature (format is verifier-specific).
actor_config: ActorConfigActor launch configuration.
metadata: RuleMetadataOpaque metadata passed through for audit/logging. RingKernel does not interpret any of these fields.
Trait Implementations§
§impl Clone for CompiledRule
impl Clone for CompiledRule
§fn clone(&self) -> CompiledRule
fn clone(&self) -> CompiledRule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledRule
impl RefUnwindSafe for CompiledRule
impl Send for CompiledRule
impl Sync for CompiledRule
impl Unpin for CompiledRule
impl UnwindSafe for CompiledRule
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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