pub struct ProjectionProviderDescriptorV1 { /* private fields */ }Expand description
One fixed-size compiler-owned provider contract.
Implementations§
Source§impl ProjectionProviderDescriptorV1
impl ProjectionProviderDescriptorV1
Sourcepub fn new(
kind: ProjectionProviderKindV1,
posture: ProjectionProviderPostureV1,
capabilities: ProjectionProviderCapabilitiesV1,
policy_mode: ProjectionProviderPolicyModeV1,
bounds: ProjectionProviderStaticBoundsV1,
state: ProjectionProviderStateIdentityV1,
) -> Result<Self, ProjectionProviderValidationError>
pub fn new( kind: ProjectionProviderKindV1, posture: ProjectionProviderPostureV1, capabilities: ProjectionProviderCapabilitiesV1, policy_mode: ProjectionProviderPolicyModeV1, bounds: ProjectionProviderStaticBoundsV1, state: ProjectionProviderStateIdentityV1, ) -> Result<Self, ProjectionProviderValidationError>
Constructs and validates a sealed descriptor.
Sourcepub fn from_canonical_bytes(
bytes: &[u8],
) -> Result<Self, ProjectionProviderValidationError>
pub fn from_canonical_bytes( bytes: &[u8], ) -> Result<Self, ProjectionProviderValidationError>
Decodes and strictly validates one canonical V1 descriptor.
Sourcepub fn to_canonical_bytes(&self) -> [u8; 112]
pub fn to_canonical_bytes(&self) -> [u8; 112]
Encodes the exact canonical fixed-size V1 form.
Sourcepub fn digest(&self) -> ProjectionProviderDescriptorHash
pub fn digest(&self) -> ProjectionProviderDescriptorHash
Returns the exact descriptor digest.
Sourcepub const fn kind(&self) -> ProjectionProviderKindV1
pub const fn kind(&self) -> ProjectionProviderKindV1
Provider family pinned by the compiler.
Sourcepub const fn posture(&self) -> ProjectionProviderPostureV1
pub const fn posture(&self) -> ProjectionProviderPostureV1
Exactness posture pinned by the compiler.
Sourcepub const fn capabilities(&self) -> ProjectionProviderCapabilitiesV1
pub const fn capabilities(&self) -> ProjectionProviderCapabilitiesV1
Closed supported capabilities.
Sourcepub const fn aggregate_semantics(&self) -> AggregateSemanticSetV1
pub const fn aggregate_semantics(&self) -> AggregateSemanticSetV1
Exact aggregate semantic subset implemented by this provider.
A generic MEASURE stage is insufficient to prove a particular fold;
this closed subset prevents a compiler from treating the union of real
providers as capabilities of any one provider.
Sourcepub const fn policy_mode(&self) -> ProjectionProviderPolicyModeV1
pub const fn policy_mode(&self) -> ProjectionProviderPolicyModeV1
Ranked authorization-shaping mode.
Sourcepub const fn freshness(&self) -> ProjectionProviderFreshnessV1
pub const fn freshness(&self) -> ProjectionProviderFreshnessV1
Exact retained-epoch freshness model.
Sourcepub const fn lifecycle(&self) -> ProjectionProviderLifecycleModelV1
pub const fn lifecycle(&self) -> ProjectionProviderLifecycleModelV1
Rebuildable provider-generation lifecycle model.
Sourcepub const fn static_bounds(&self) -> ProjectionProviderStaticBoundsV1
pub const fn static_bounds(&self) -> ProjectionProviderStaticBoundsV1
Complete static cost and retention bounds.
Sourcepub const fn max_candidates(&self) -> u32
pub const fn max_candidates(&self) -> u32
Maximum candidates before any result shaping.
Sourcepub const fn max_output_rows(&self) -> u32
pub const fn max_output_rows(&self) -> u32
Maximum result rows.
Sourcepub const fn max_measures(&self) -> u16
pub const fn max_measures(&self) -> u16
Maximum whole-set measures/facets.
Sourcepub const fn retained_epochs(&self) -> u64
pub const fn retained_epochs(&self) -> u64
Minimum retained epoch count promised by the provider.
Sourcepub const fn max_catchup_lag(&self) -> u64
pub const fn max_catchup_lag(&self) -> u64
Maximum admitted catch-up lag before health degrades.
Sourcepub const fn max_epoch_lease_steps(&self) -> u64
pub const fn max_epoch_lease_steps(&self) -> u64
Maximum deterministic epoch-lease lifetime retained for continuations.
Sourcepub const fn state_identity(&self) -> ProjectionProviderStateIdentityV1
pub const fn state_identity(&self) -> ProjectionProviderStateIdentityV1
Immutable provider-state schema identity.