Skip to main content

StructuralLimits

Struct StructuralLimits 

Source
pub struct StructuralLimits {
Show 13 fields pub selected_slots: usize, pub bindings: usize, pub predicate_nodes: usize, pub predicate_depth: usize, pub boolean_terms: usize, pub allowed_cross_joins: usize, pub order_terms: usize, pub collection_order_terms: usize, pub input_rows: usize, pub input_bytes: usize, pub output_name_bytes: usize, pub semantic_id_bytes: usize, pub diagnostic_bytes: usize,
}
Expand description

Shared implementation-independent typed-plan structural ceilings.

Fields§

§selected_slots: usize

Selected output slots.

§bindings: usize

Plan bindings.

§predicate_nodes: usize

Total predicate nodes.

§predicate_depth: usize

Predicate-tree depth.

§boolean_terms: usize

Children in one boolean expression.

§allowed_cross_joins: usize

Explicitly allowed cross joins.

§order_terms: usize

Public row/root ordering terms.

§collection_order_terms: usize

Per-collection ordering terms.

§input_rows: usize

Input rows in one invocation.

§input_bytes: usize

Encoded bytes across one invocation’s input rows.

§output_name_bytes: usize

Named output-slot UTF-8 bytes.

§semantic_id_bytes: usize

Semantic identity UTF-8 bytes.

§diagnostic_bytes: usize

Canonical diagnostic bytes.

Implementations§

Source§

impl StructuralLimits

Source

pub const CANONICAL: Self

Canonical cross-language protocol limits.

Source

pub const fn allows_selected_slots(self, actual: usize) -> bool

Return whether actual fits the selected-slot ceiling.

Source

pub const fn allows_bindings(self, actual: usize) -> bool

Return whether actual fits the binding ceiling.

Source

pub const fn allows_input_rows(self, actual: usize) -> bool

Return whether actual fits the invocation input-row ceiling.

Source

pub const fn allows_input_bytes(self, actual: usize) -> bool

Return whether actual fits the invocation input-byte ceiling.

Source

pub const fn allows_order_terms(self, actual: usize) -> bool

Return whether actual fits the public ordering-term ceiling.

Source

pub const fn allows_predicate_nodes(self, actual: usize) -> bool

Return whether actual fits the predicate-node ceiling.

Source

pub const fn allows_predicate_depth(self, actual: usize) -> bool

Return whether actual fits the predicate-depth ceiling.

Source

pub const fn allows_diagnostic_bytes(self, actual: usize) -> bool

Return whether actual fits the diagnostic-byte ceiling.

Trait Implementations§

Source§

impl Clone for StructuralLimits

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 Copy for StructuralLimits

Source§

impl Debug for StructuralLimits

Source§

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

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

impl Default for StructuralLimits

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for StructuralLimits

Source§

impl PartialEq for StructuralLimits

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 StructuralLimits

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.