Skip to main content

ProjectionProviderDescriptorV1

Struct ProjectionProviderDescriptorV1 

Source
pub struct ProjectionProviderDescriptorV1 { /* private fields */ }
Expand description

One fixed-size compiler-owned provider contract.

Implementations§

Source§

impl ProjectionProviderDescriptorV1

Source

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.

Source

pub fn from_canonical_bytes( bytes: &[u8], ) -> Result<Self, ProjectionProviderValidationError>

Decodes and strictly validates one canonical V1 descriptor.

Source

pub fn to_canonical_bytes(&self) -> [u8; 112]

Encodes the exact canonical fixed-size V1 form.

Source

pub fn digest(&self) -> ProjectionProviderDescriptorHash

Returns the exact descriptor digest.

Source

pub const fn kind(&self) -> ProjectionProviderKindV1

Provider family pinned by the compiler.

Source

pub const fn posture(&self) -> ProjectionProviderPostureV1

Exactness posture pinned by the compiler.

Source

pub const fn capabilities(&self) -> ProjectionProviderCapabilitiesV1

Closed supported capabilities.

Source

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.

Source

pub const fn policy_mode(&self) -> ProjectionProviderPolicyModeV1

Ranked authorization-shaping mode.

Source

pub const fn freshness(&self) -> ProjectionProviderFreshnessV1

Exact retained-epoch freshness model.

Source

pub const fn lifecycle(&self) -> ProjectionProviderLifecycleModelV1

Rebuildable provider-generation lifecycle model.

Source

pub const fn static_bounds(&self) -> ProjectionProviderStaticBoundsV1

Complete static cost and retention bounds.

Source

pub const fn max_candidates(&self) -> u32

Maximum candidates before any result shaping.

Source

pub const fn max_output_rows(&self) -> u32

Maximum result rows.

Source

pub const fn max_measures(&self) -> u16

Maximum whole-set measures/facets.

Source

pub const fn retained_epochs(&self) -> u64

Minimum retained epoch count promised by the provider.

Source

pub const fn max_catchup_lag(&self) -> u64

Maximum admitted catch-up lag before health degrades.

Source

pub const fn max_epoch_lease_steps(&self) -> u64

Maximum deterministic epoch-lease lifetime retained for continuations.

Source

pub const fn state_identity(&self) -> ProjectionProviderStateIdentityV1

Immutable provider-state schema identity.

Trait Implementations§

Source§

impl Clone for ProjectionProviderDescriptorV1

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ProjectionProviderDescriptorV1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ProjectionProviderDescriptorV1

Source§

impl PartialEq for ProjectionProviderDescriptorV1

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ProjectionProviderDescriptorV1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.